Bladdock

I've made myself a custom editor tool in Unity to automatically change the initial flip and animation of SkeletonAnimation component's in my scene based off where/how I drag them around. The tool works great but after attempting to add Undo I noticed that the SkeletonAnimation properties, while they correctly revert, don't actually get reflected in the pose of the skeleton in the scene view. Investigating further it doesn't even seem that changes made to properties directly in the inspector are reflected when undoing. I tried to "poke" the SkeletonAnimation through various means (e.g. calling Update(0f) on it) to no avail. Is there any way to get undo operations to be reflected in the scene view without too much hassle?

Thanks
Bladdock
  • Posts: 6

Harald

Sorry for the troubles and thanks for reporting! Which properties have you been modifying and reverting via undo?
User avatar
Harald

Harri
  • Posts: 1206

Bladdock

Thanks for getting back to me. InitialFlipX, ScaleX and AnimationName are the properties I'm experiencing issues with.
Bladdock
  • Posts: 6

Harald

Thanks for the info. We will have a look at it and will get back to you as soon as we have a solution to offer!
User avatar
Harald

Harri
  • Posts: 1206


Return to Unity