Cleanup: use bool literal for booleans.

This commit is contained in:
2019-04-29 15:01:55 +02:00
parent 3d0864200d
commit a17d1e4bc8
2 changed files with 2 additions and 2 deletions

View File

@@ -587,7 +587,7 @@ void NODE_OT_select(wmOperatorType *ot)
RNA_def_boolean(ot->srna, "socket_select", false, "Socket Select", "");
RNA_def_boolean(ot->srna,
"deselect_all",
0,
false,
"Deselect On Nothing",
"Deselect all when nothing under the cursor");
}

View File

@@ -452,7 +452,7 @@ void WM_operator_properties_mouse_select(wmOperatorType *ot)
prop = RNA_def_boolean(ot->srna,
"deselect_all",
0,
false,
"Deselect On Nothing",
"Deselect all when nothing under the cursor");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);