Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slot Object not working at render. #192

Open
ahrimanes opened this issue Dec 23, 2021 · 4 comments
Open

slot Object not working at render. #192

ahrimanes opened this issue Dec 23, 2021 · 4 comments

Comments

@ahrimanes
Copy link

ahrimanes commented Dec 23, 2021

ok I have this working and Im doing some stuff.. but when it comes to slot index to shift betwiin sprites I get an error every time i try to set a keyframe, if I press "i" it works but it only works on play time if I render I only see the index im on when render animation button was pressed..

the error is:
Traceback (most recent call last):
File "C:\Users\ahrim\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\coa_tools\operators\animation_handling.py", line 132, in invoke
self.execute(context)
File "C:\Users\ahrim\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\coa_tools\operators\animation_handling.py", line 162, in execute
self.create_keyframe(context,event,self.prop_name)
File "C:\Users\ahrim\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\coa_tools\operators\animation_handling.py", line 77, in create_keyframe
sprite.keyframe_insert(data_path)
TypeError: bpy_struct.keyframe_insert() property "coa_slot_index" not found

i did as you said before on other issues,, select all sprites i want to make them slot and press the merge..

it seems my objects have missin properties "coa_slot_index"?? how can i solve it?

im using blender 2.80, and coa tools 2.0.0

@ahrimanes
Copy link
Author

i have just double cheked and this issue occurs with the sample file aswell..

@SallyElsa
Copy link

Screenshot 2021-12-23 153604

I'm having the same issue, Blender 2.83 and COA tools 2.0.1
I'm not the most tech savy, so I don't really understand how to bypass this error

@ahrimanes
Copy link
Author

ahrimanes commented Dec 24, 2021

for what i have seen there is no custom properties defined by Api on the objects.. on blender 2.79 and coa tools 1.0.4 the meshes have lot of custompropertyes defined by api, included this coa_slot_index wich i uinderestan is used to control the active slot on the animation curve. all of those properties are crated as soon as we import the sprites. and coa_slot_index is created when we do the merge thing... there is somthing making the properties not being added.

@ahrimanes
Copy link
Author

ok i have searched the string "coa_solt_index" on the 2.0.0 src traing to find the fucntion wich create that property and i just find 2 hits on ui.py while i have 34 hits on 1.0.4.. sooo i guess is an un suporte feature sicen the src is not refering to it out side the ui.py wich creates the ui item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants