Fix T59713: Moving bones between layers in edit mode doesn't show the dot icon in the layers UI

This commit is contained in:
2019-07-17 10:16:17 -03:00
parent 11741ff682
commit 580acab173

View File

@@ -415,6 +415,10 @@ int join_armature_exec(bContext *C, wmOperator *op)
}
}
arm->layer_used |= curarm->layer_used;
arm->layer |= curarm->layer;
arm->layer_protected |= curarm->layer_protected;
/* Free the old object data */
ED_object_base_free_and_unlink(bmain, scene, ob_iter);
}