Skip to content

Commit

Permalink
kControllerTag is from maya2017
Browse files Browse the repository at this point in the history
  • Loading branch information
sol-ansano-kim committed Sep 3, 2018
1 parent 1b331e9 commit 481bec4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/core/node.cpp
Expand Up @@ -301,11 +301,13 @@ void MEDIC::GetNodesInSelection(MdNodeContainer *container)

while (!down_ses.isDone() && !is_in)
{
if (down_ses.thisNode().hasFn(MFn::kControllerTag))
{
down_ses.next();
continue;
}
#if MAYA_API_VERSION >= 201700
if (down_ses.thisNode().hasFn(MFn::kControllerTag))
{
down_ses.next();
continue;
}
#endif // MAYA_API_VERSION

set_node.setObject(down_ses.thisNode());
set_node.getMembers(membership, true);
Expand Down

0 comments on commit 481bec4

Please sign in to comment.