Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert.c
| Show First 20 Lines • Show All 1,863 Lines • ▼ Show 20 Lines | if (canceled && t->remove_on_cancel) { | ||||
| if (ntree) { | if (ntree) { | ||||
| bNode *node, *node_next; | bNode *node, *node_next; | ||||
| for (node = ntree->nodes.first; node; node = node_next) { | for (node = ntree->nodes.first; node; node = node_next) { | ||||
| node_next = node->next; | node_next = node->next; | ||||
| if (node->flag & NODE_SELECT) { | if (node->flag & NODE_SELECT) { | ||||
| nodeRemoveNode(bmain, ntree, node, true); | nodeRemoveNode(bmain, ntree, node, true); | ||||
| } | } | ||||
| } | } | ||||
| ntreeUpdateTree(bmain, ntree); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| static void special_aftertrans_update__mesh(bContext *UNUSED(C), TransInfo *t) | static void special_aftertrans_update__mesh(bContext *UNUSED(C), TransInfo *t) | ||||
| { | { | ||||
| /* so automerge supports mirror */ | /* so automerge supports mirror */ | ||||
| if ((t->scene->toolsettings->automerge) && ((t->flag & T_EDIT) && t->obedit_type == OB_MESH)) { | if ((t->scene->toolsettings->automerge) && ((t->flag & T_EDIT) && t->obedit_type == OB_MESH)) { | ||||
| ▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines | |||||