Home › Forums › Bug Reports and Feature Requests › Shapekeys bug and potential fix
Tagged: bug, morphing, shape keys
- This topic has 6 replies, 4 voices, and was last updated 6 years, 4 months ago by
Alexander Kovelenov.
-
AuthorPosts
-
2018-12-14 at 5:52 pm #9859
loukmaneB
ParticipantHello all ,
I am a blender enthusiast and programmer i work a lot in python and .net languages .I created a lot of addons for blender :D for clients.
So i was working on a project using Verge3D 2.9.1 with blender 2.8, when i export the project to gltf and try to use the morphing using js i noticed that some of the models that had shapekeys in blender didn’t get exported correctly it was there no attributes for morphing in js ,I start digging the problem in blender and i didn’t find any solution so i thought go through the exporting script a bit and do some debugging I found that the models that didn’t exported correctly needed triangulation and the script adds the Triangulation modifier….. , so i think basically the shapekeys get removed when you add the triangulation modifier and apply it , Correct me if i am wrong , So i believe the way around this to not use the Triangulation modifier instead use the triangulation operator “bpy.ops.mesh.quads_convert_to_tris(quad_method=’SHORTEST_DIAGONAL’, ngon_method=’CLIP’)” and that worked like a charm for me :) because it kept the shapekeys data correctly.
Please if i am saying something wrong correct me .
Thanks.2018-12-15 at 9:16 am #9875
Yuri KovelenovStaff2019-03-26 at 2:13 pm #13275
elkCustomerThanks for posting this loukmaneB, helped me fix an issue I just had.
Not a big thing once you know whats wrong, but a fix would be good, so a vote from me for fixing this, if i got any votes left :S
2019-03-27 at 6:46 am #13295
Yuri KovelenovStaff2019-03-27 at 10:24 am #13324
elkCustomerThanks Yuri
2019-03-27 at 11:21 am #13330loukmaneB
ParticipantNo problem elk :D,this problem happen to me frequently because i use a lot the morphing system .also waiting for the official update
2019-08-04 at 3:22 pm #17492
Alexander KovelenovStaff -
AuthorPosts
- You must be logged in to reply to this topic.
