diff options
-rw-r--r-- | source/blender/editors/transform/transform_manipulator_3d.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_workspace_api.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_toolsystem.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_manipulator_3d.c b/source/blender/editors/transform/transform_manipulator_3d.c index 27bfb7fcf34..863ec1af15b 100644 --- a/source/blender/editors/transform/transform_manipulator_3d.c +++ b/source/blender/editors/transform/transform_manipulator_3d.c @@ -1131,7 +1131,7 @@ static void manipulator_line_range(const int twtype, const short axis_type, floa static void manipulator_xform_message_subscribe( wmManipulatorGroup *mgroup, struct wmMsgBus *mbus, - Scene *scene, bScreen *UNUSED(screen), ScrArea *sa, ARegion *ar, const void *type_fn) + Scene *scene, bScreen *UNUSED(screen), ScrArea *UNUSED(sa), ARegion *ar, const void *type_fn) { /* Subscribe to view properties */ wmMsgSubscribeValue msg_sub_value_mpr_tag_refresh = { diff --git a/source/blender/makesrna/intern/rna_workspace_api.c b/source/blender/makesrna/intern/rna_workspace_api.c index e56d9a0bc33..81606dfba4a 100644 --- a/source/blender/makesrna/intern/rna_workspace_api.c +++ b/source/blender/makesrna/intern/rna_workspace_api.c @@ -114,7 +114,7 @@ void RNA_api_workspace_tool(StructRNA *srna) parm = RNA_def_pointer(func, "result", "OperatorProperties", "", ""); RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_RNAPTR); RNA_def_function_return(func, parm); - + } #endif diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c index 3d9c6d88d2c..f07e6d00d19 100644 --- a/source/blender/windowmanager/intern/wm_toolsystem.c +++ b/source/blender/windowmanager/intern/wm_toolsystem.c @@ -282,7 +282,7 @@ void WM_toolsystem_ref_set_from_runtime( const bToolRef_Runtime *tref_rt, const char *idname) { Main *bmain = CTX_data_main(C); - + if (tref->runtime) { toolsystem_unlink_ref(C, workspace, tref); } |