[Bf-blender-cvs] [430070938c3] blender2.8: Fix manipulators not updating when changing workspace view-layer

Julian Eisel noreply at git.blender.org
Fri Dec 22 17:16:18 CET 2017


Commit: 430070938c3e5a7640c69fc90eafe9f9846b13d4
Author: Julian Eisel
Date:   Fri Dec 22 17:04:00 2017 +0100
Branches: blender2.8
https://developer.blender.org/rB430070938c3e5a7640c69fc90eafe9f9846b13d4

Fix manipulators not updating when changing workspace view-layer

There are more issues when changing view-layer (esp. with edit-mode).

===================================================================

M	source/blender/editors/transform/transform_manipulator.c

===================================================================

diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index 90428dc5ddd..0643687c29a 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -1155,6 +1155,8 @@ static void manipulator_xform_message_subscribe(
 	else {
 		BLI_assert(0);
 	}
+
+	WM_msg_subscribe_rna_anon_prop(mbus, Window, view_layer, &msg_sub_value_mpr_tag_refresh);
 }
 
 /** \} */



More information about the Bf-blender-cvs mailing list