diff options
Diffstat (limited to 'source/blender/editors/physics/dynamicpaint_ops.c')
-rw-r--r-- | source/blender/editors/physics/dynamicpaint_ops.c | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/source/blender/editors/physics/dynamicpaint_ops.c b/source/blender/editors/physics/dynamicpaint_ops.c index abb596e450f..41600bdb728 100644 --- a/source/blender/editors/physics/dynamicpaint_ops.c +++ b/source/blender/editors/physics/dynamicpaint_ops.c @@ -85,16 +85,16 @@ static int surface_slot_add_exec(bContext *C, wmOperator *UNUSED(op)) void DPAINT_OT_surface_slot_add(wmOperatorType *ot) { /* identifiers */ - ot->name= "Add Surface Slot"; - ot->idname= "DPAINT_OT_surface_slot_add"; - ot->description="Add a new Dynamic Paint surface slot"; + ot->name = "Add Surface Slot"; + ot->idname = "DPAINT_OT_surface_slot_add"; + ot->description = "Add a new Dynamic Paint surface slot"; /* api callbacks */ - ot->exec= surface_slot_add_exec; - ot->poll= ED_operator_object_active_editable; + ot->exec = surface_slot_add_exec; + ot->poll = ED_operator_object_active_editable; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } static int surface_slot_remove_exec(bContext *C, wmOperator *UNUSED(op)) @@ -133,16 +133,16 @@ static int surface_slot_remove_exec(bContext *C, wmOperator *UNUSED(op)) void DPAINT_OT_surface_slot_remove(wmOperatorType *ot) { /* identifiers */ - ot->name= "Remove Surface Slot"; - ot->idname= "DPAINT_OT_surface_slot_remove"; - ot->description="Remove the selected surface slot"; + ot->name = "Remove Surface Slot"; + ot->idname = "DPAINT_OT_surface_slot_remove"; + ot->description = "Remove the selected surface slot"; /* api callbacks */ - ot->exec= surface_slot_remove_exec; - ot->poll= ED_operator_object_active_editable; + ot->exec = surface_slot_remove_exec; + ot->poll = ED_operator_object_active_editable; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } static int type_toggle_exec(bContext *C, wmOperator *op) @@ -181,20 +181,20 @@ void DPAINT_OT_type_toggle(wmOperatorType *ot) PropertyRNA *prop; /* identifiers */ - ot->name= "Toggle Type Active"; - ot->idname= "DPAINT_OT_type_toggle"; + ot->name = "Toggle Type Active"; + ot->idname = "DPAINT_OT_type_toggle"; ot->description = "Toggle whether given type is active or not"; /* api callbacks */ - ot->exec= type_toggle_exec; - ot->poll= ED_operator_object_active_editable; + ot->exec = type_toggle_exec; + ot->poll = ED_operator_object_active_editable; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* properties */ prop= RNA_def_enum(ot->srna, "type", prop_dynamicpaint_type_items, MOD_DYNAMICPAINT_TYPE_CANVAS, "Type", ""); - ot->prop= prop; + ot->prop = prop; } static int output_toggle_exec(bContext *C, wmOperator *op) @@ -249,19 +249,19 @@ void DPAINT_OT_output_toggle(wmOperatorType *ot) }; /* identifiers */ - ot->name= "Toggle Output Layer"; - ot->idname= "DPAINT_OT_output_toggle"; + ot->name = "Toggle Output Layer"; + ot->idname = "DPAINT_OT_output_toggle"; ot->description = "Add or remove Dynamic Paint output data layer"; /* api callbacks */ - ot->exec= output_toggle_exec; - ot->poll= ED_operator_object_active_editable; + ot->exec = output_toggle_exec; + ot->poll = ED_operator_object_active_editable; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; /* properties */ - ot->prop= RNA_def_enum(ot->srna, "output", prop_output_toggle_types, 0, "Output Toggle", ""); + ot->prop = RNA_def_enum(ot->srna, "output", prop_output_toggle_types, 0, "Output Toggle", ""); } @@ -417,11 +417,11 @@ static int dynamicpaint_bake_exec(bContext *C, wmOperator *op) void DPAINT_OT_bake(wmOperatorType *ot) { /* identifiers */ - ot->name= "Dynamic Paint Bake"; - ot->description= "Bake dynamic paint image sequence surface"; - ot->idname= "DPAINT_OT_bake"; + ot->name = "Dynamic Paint Bake"; + ot->description = "Bake dynamic paint image sequence surface"; + ot->idname = "DPAINT_OT_bake"; /* api callbacks */ - ot->exec= dynamicpaint_bake_exec; - ot->poll= ED_operator_object_active_editable; + ot->exec = dynamicpaint_bake_exec; + ot->poll = ED_operator_object_active_editable; } |