diff options
Diffstat (limited to 'source/blender/editors/mesh/mesh_data.c')
-rw-r--r-- | source/blender/editors/mesh/mesh_data.c | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index cdbe34b4bd5..bdc07bb0365 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -501,16 +501,16 @@ static int uv_texture_add_exec(bContext *C, wmOperator *UNUSED(op)) void MESH_OT_uv_texture_add(wmOperatorType *ot) { /* identifiers */ - ot->name= "Add UV Map"; - ot->description= "Add UV Map"; - ot->idname= "MESH_OT_uv_texture_add"; + ot->name = "Add UV Map"; + ot->description = "Add UV Map"; + ot->idname = "MESH_OT_uv_texture_add"; /* api callbacks */ - ot->poll= layers_poll; - ot->exec= uv_texture_add_exec; + ot->poll = layers_poll; + ot->exec = uv_texture_add_exec; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } static int drop_named_image_invoke(bContext *C, wmOperator *op, wmEvent *event) @@ -584,16 +584,16 @@ static int drop_named_image_invoke(bContext *C, wmOperator *op, wmEvent *event) void MESH_OT_drop_named_image(wmOperatorType *ot) { /* identifiers */ - ot->name= "Assign Image to UV Map"; - ot->description= "Assign Image to active UV Map, or create an UV Map"; - ot->idname= "MESH_OT_drop_named_image"; + ot->name = "Assign Image to UV Map"; + ot->description = "Assign Image to active UV Map, or create an UV Map"; + ot->idname = "MESH_OT_drop_named_image"; /* api callbacks */ - ot->poll= layers_poll; - ot->invoke= drop_named_image_invoke; + ot->poll = layers_poll; + ot->invoke = drop_named_image_invoke; /* flags */ - ot->flag= OPTYPE_UNDO; + ot->flag = OPTYPE_UNDO; /* properties */ RNA_def_string(ot->srna, "name", "Image", MAX_ID_NAME-2, "Name", "Image name to assign"); @@ -614,16 +614,16 @@ static int uv_texture_remove_exec(bContext *C, wmOperator *UNUSED(op)) void MESH_OT_uv_texture_remove(wmOperatorType *ot) { /* identifiers */ - ot->name= "Remove UV Map"; - ot->description= "Remove UV Map"; - ot->idname= "MESH_OT_uv_texture_remove"; + ot->name = "Remove UV Map"; + ot->description = "Remove UV Map"; + ot->idname = "MESH_OT_uv_texture_remove"; /* api callbacks */ - ot->poll= layers_poll; - ot->exec= uv_texture_remove_exec; + ot->poll = layers_poll; + ot->exec = uv_texture_remove_exec; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } /*********************** vertex color operators ************************/ @@ -643,16 +643,16 @@ static int vertex_color_add_exec(bContext *C, wmOperator *UNUSED(op)) void MESH_OT_vertex_color_add(wmOperatorType *ot) { /* identifiers */ - ot->name= "Add Vertex Color"; - ot->description= "Add vertex color layer"; - ot->idname= "MESH_OT_vertex_color_add"; + ot->name = "Add Vertex Color"; + ot->description = "Add vertex color layer"; + ot->idname = "MESH_OT_vertex_color_add"; /* api callbacks */ - ot->poll= layers_poll; - ot->exec= vertex_color_add_exec; + ot->poll = layers_poll; + ot->exec = vertex_color_add_exec; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } static int vertex_color_remove_exec(bContext *C, wmOperator *UNUSED(op)) @@ -669,16 +669,16 @@ static int vertex_color_remove_exec(bContext *C, wmOperator *UNUSED(op)) void MESH_OT_vertex_color_remove(wmOperatorType *ot) { /* identifiers */ - ot->name= "Remove Vertex Color"; - ot->description= "Remove vertex color layer"; - ot->idname= "MESH_OT_vertex_color_remove"; + ot->name = "Remove Vertex Color"; + ot->description = "Remove vertex color layer"; + ot->idname = "MESH_OT_vertex_color_remove"; /* api callbacks */ - ot->exec= vertex_color_remove_exec; - ot->poll= layers_poll; + ot->exec = vertex_color_remove_exec; + ot->poll = layers_poll; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } /*********************** sticky operators ************************/ @@ -707,16 +707,16 @@ static int sticky_add_exec(bContext *C, wmOperator *UNUSED(op)) void MESH_OT_sticky_add(wmOperatorType *ot) { /* identifiers */ - ot->name= "Add Sticky"; - ot->description= "Add sticky UV texture layer"; - ot->idname= "MESH_OT_sticky_add"; + ot->name = "Add Sticky"; + ot->description = "Add sticky UV texture layer"; + ot->idname = "MESH_OT_sticky_add"; /* api callbacks */ - ot->poll= layers_poll; - ot->exec= sticky_add_exec; + ot->poll = layers_poll; + ot->exec = sticky_add_exec; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } static int sticky_remove_exec(bContext *C, wmOperator *UNUSED(op)) @@ -739,16 +739,16 @@ static int sticky_remove_exec(bContext *C, wmOperator *UNUSED(op)) void MESH_OT_sticky_remove(wmOperatorType *ot) { /* identifiers */ - ot->name= "Remove Sticky"; - ot->description= "Remove sticky UV texture layer"; - ot->idname= "MESH_OT_sticky_remove"; + ot->name = "Remove Sticky"; + ot->description = "Remove sticky UV texture layer"; + ot->idname = "MESH_OT_sticky_remove"; /* api callbacks */ - ot->poll= layers_poll; - ot->exec= sticky_remove_exec; + ot->poll = layers_poll; + ot->exec = sticky_remove_exec; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } /************************** Add Geometry Layers *************************/ |