Fix mesh cache

When origin changed by user, all parts should be regenerated.
master
Jeremy Hu 2018-09-02 10:24:39 +08:00
parent fe401a5f13
commit 10160285b8
1 changed files with 1 additions and 0 deletions

View File

@ -479,6 +479,7 @@ void SkeletonDocument::moveOriginBy(float x, float y, float z)
originY += y;
if (!zlocked)
originZ += z;
markAllDirty();
emit originChanged();
emit skeletonChanged();
}