Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert.c
| Show First 20 Lines • Show All 2,393 Lines • ▼ Show 20 Lines | if (t->options & CTX_CURSOR) { | ||||
| if (t->spacetype == SPACE_IMAGE) { | if (t->spacetype == SPACE_IMAGE) { | ||||
| createTransCursor_image(t); | createTransCursor_image(t); | ||||
| } | } | ||||
| else { | else { | ||||
| createTransCursor_view3d(t); | createTransCursor_view3d(t); | ||||
| } | } | ||||
| countAndCleanTransDataContainer(t); | countAndCleanTransDataContainer(t); | ||||
| } | } | ||||
| else if (t->options & CTX_SCULPT) { | else if ((t->options & CTX_SCULPT) && !(t->options & CTX_PAINT_CURVE)) { | ||||
| createTransSculpt(t); | createTransSculpt(t); | ||||
| countAndCleanTransDataContainer(t); | countAndCleanTransDataContainer(t); | ||||
| } | } | ||||
| else if (t->options & CTX_TEXTURE) { | else if (t->options & CTX_TEXTURE) { | ||||
| t->flag |= T_TEXTURE; | t->flag |= T_TEXTURE; | ||||
| t->obedit_type = -1; | t->obedit_type = -1; | ||||
| createTransTexspace(t); | createTransTexspace(t); | ||||
| ▲ Show 20 Lines • Show All 330 Lines • Show Last 20 Lines | |||||