Permalink
Browse files

Added reset of the cursorFileName when hideCursor is activated to pre…

…vent the custom cursor being enabled.
  • Loading branch information...
osg-training-guest committed Jan 9, 2013
1 parent c4308ec commit d426a655b0e618ca806ec589cc257181f286291a
Showing with 3 additions and 0 deletions.
  1. +3 −0 applications/present3D/present3D.cpp
@@ -549,6 +549,9 @@ int main( int argc, char **argv )
while (arguments.read("--set-viewer")) { doSetViewer = true; }
while (arguments.read("--no-set-viewer")) { doSetViewer = false; }
+
+ // if we want to hide the cursor override the custom cursor.
+ if (hideCursor) cursorFileName.clear();
// cluster related entries.

0 comments on commit d426a65

Please sign in to comment.