1. Coin3D
  2. Coin

Commits

Øystein Handegard  committed 318e5ab

COINSUPPORT-1343: Missing SoDB::readunlock() before return.

  • Participants
  • Parent commits 7e5678b
  • Branches default

Comments (0)

Files changed (1)

File src/actions/SoAction.cpp

View file
  • Ignore whitespace
   // the SoAction subclass.
   assert(this->traversalMethods);
   this->traversalMethods->setUp();
-  if (pathlist.getLength() == 0) return;
+  if (pathlist.getLength() == 0) {
+    SoDB::readunlock();
+    return;
+  }
 
   // need to store these in case action in reapplied
   AppliedCode storedcode = PRIVATE(this)->appliedcode;