Commit d72ca329 authored by Jan Möbius's avatar Jan Möbius

Fixed cppcheck warning

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15034 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 268276d8
......@@ -207,21 +207,21 @@ public slots:
// Is vertex type active? (for use in plugins that need mesh selection)
bool vertexTypeActive() {
SelectionInterface::PrimitiveType t;
SelectionInterface::PrimitiveType t = 0u;
emit getActivePrimitiveType(t);
return (t & vertexType_) > 0;
}
// Is vertex type active? (for use in plugins that need mesh selection)
bool edgeTypeActive() {
SelectionInterface::PrimitiveType t;
SelectionInterface::PrimitiveType t = 0u;
emit getActivePrimitiveType(t);
return (t & edgeType_) > 0;
}
// Is face type active? (for use in plugins that need mesh selection)
bool faceTypeActive() {
SelectionInterface::PrimitiveType t;
SelectionInterface::PrimitiveType t = 0u;
emit getActivePrimitiveType(t);
return (t & faceType_) > 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment