diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-26 13:50:09 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-26 13:50:24 +0300 |
commit | 2e9b86923c30a5122bf1d6225578bbee35f85c0f (patch) | |
tree | d0066e260b0778919f07e197d5388eab2bacfafb | |
parent | 6d3e42ccbdaaac61f28f032e459d68b3e8d9fe33 (diff) |
Fix T56920: Crash: Renaming bone through outliner
-rw-r--r-- | source/blender/editors/armature/armature_naming.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/armature/armature_naming.c b/source/blender/editors/armature/armature_naming.c index 20fccfda6b9..1fe5556952c 100644 --- a/source/blender/editors/armature/armature_naming.c +++ b/source/blender/editors/armature/armature_naming.c @@ -178,6 +178,9 @@ void ED_armature_bone_rename(Main *bmain, bArmature *arm, const char *oldnamep, } } + /* force copy on write to update database */ + DEG_id_tag_update(&arm->id, DEG_TAG_COPY_ON_WRITE); + /* do entire dbase - objects */ for (ob = bmain->object.first; ob; ob = ob->id.next) { ModifierData *md; |