[Bf-blender-cvs] [badb7001612] blender2.8: Fix T55443: Manipulators not refreshing
Dalai Felinto
noreply at git.blender.org
Fri Jun 15 15:45:26 CEST 2018
Commit: badb7001612605bb631c8252d5aee30d50fb98ee
Author: Dalai Felinto
Date: Fri Jun 15 15:44:14 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBbadb7001612605bb631c8252d5aee30d50fb98ee
Fix T55443: Manipulators not refreshing
===================================================================
M source/blender/editors/transform/transform_ops.c
===================================================================
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c
index c42887412fa..0bea1af2a73 100644
--- a/source/blender/editors/transform/transform_ops.c
+++ b/source/blender/editors/transform/transform_ops.c
@@ -45,6 +45,7 @@
#include "RNA_enum_types.h"
#include "WM_api.h"
+#include "WM_message.h"
#include "WM_types.h"
#include "UI_interface.h"
@@ -167,6 +168,9 @@ static int select_orientation_exec(bContext *C, wmOperator *op)
WM_event_add_notifier(C, NC_SCENE | ND_TOOLSETTINGS, NULL);
+ struct wmMsgBus *mbus = CTX_wm_message_bus(C);
+ WM_msg_publish_rna_prop(mbus, &scene->id, scene, Scene, transform_orientation);
+
return OPERATOR_FINISHED;
}
More information about the Bf-blender-cvs
mailing list