Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_operators.c
| Context not available. | |||||
| } | } | ||||
| } | } | ||||
| else { | else { | ||||
| /* only to get the orginal props for comparisons */ | /* only to get the original props for comparisons */ | ||||
| PointerRNA opptr_default; | PointerRNA opptr_default; | ||||
| const bool macro_args_test = ot->macro.first ? macro_args : true; | const bool macro_args_test = ot->macro.first ? macro_args : true; | ||||
| Context not available. | |||||
| /** set all props to their default, | /** set all props to their default, | ||||
| * \param do_update Only update un-initialized props. | * \param do_update Only update un-initialized props. | ||||
| * | * | ||||
| * \note, theres nothing specific to operators here. | * \note, there's nothing specific to operators here. | ||||
| * this could be made a general function. | * this could be made a general function. | ||||
| */ | */ | ||||
| bool WM_operator_properties_default(PointerRNA *ptr, const bool do_update) | bool WM_operator_properties_default(PointerRNA *ptr, const bool do_update) | ||||
| Context not available. | |||||