Skip to content

Commit

Permalink
Added Vdb Plugin state check to prevent preview vdb jobs from being
Browse files Browse the repository at this point in the history
processed on start-up
  • Loading branch information
blafond committed Feb 12, 2016
1 parent a41be18 commit d6d59cc
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -180,6 +180,9 @@ public boolean shouldRun() {
// Want to avoid generating previews during vdb conversion
// since models can be in partial states
//

if( VdbPlugin.singleton() == null ) return false;

if (result)
result = ! VdbPlugin.singleton().conversionInProgress();

Expand Down

0 comments on commit d6d59cc

Please sign in to comment.