diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-14 05:28:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-14 05:28:26 +0400 |
commit | e74701fbfc3d55b462643dfb2829005c07c9ae0c (patch) | |
tree | 5d4de0210551bc694b0d48beaa387bca5e3ceca5 /source | |
parent | 883117077bedb57d76af6ccd894fca3fa45407d2 (diff) |
node transform was using PET mode (drawing a circle - but it did nothing), disable PET for nodes.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index e7a2c1d8aa0..181f9fe6036 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -5609,6 +5609,9 @@ static void createTransNodeData(bContext *UNUSED(C), TransInfo *t) return; } + /* nodes dont support PET and probably never will */ + t->flag &= ~(T_PROP_EDIT | T_PROP_CONNECTED); + /* set transform flags on nodes */ for (node = snode->edittree->nodes.first; node; node = node->next) { if (node->flag & NODE_SELECT && is_node_parent_select(node) == FALSE) { |