Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-09-26 13:50:09 +0300
committerAntonioya <blendergit@gmail.com>2018-09-26 13:50:24 +0300
commit2e9b86923c30a5122bf1d6225578bbee35f85c0f (patch)
treed0066e260b0778919f07e197d5388eab2bacfafb /source/blender/editors/armature/armature_naming.c
parent6d3e42ccbdaaac61f28f032e459d68b3e8d9fe33 (diff)
Fix T56920: Crash: Renaming bone through outliner
Diffstat (limited to 'source/blender/editors/armature/armature_naming.c')
-rw-r--r--source/blender/editors/armature/armature_naming.c3
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;