Cleanup: warning
This commit is contained in:
parent
ab19609233
commit
6781fac42e
@ -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 = {
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user