소스 검색

Merge pull request #6161 from bghgary/validation-fix

Fix issue with validation tests
David Catuhe 6 년 전
부모
커밋
9b1d8c95a2
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      tests/validation/validation.js

+ 3 - 0
tests/validation/validation.js

@@ -171,6 +171,9 @@ function runTest(index, done) {
         done(false);
     }
 
+    // Clear the plugin activated observables in case it is registered in the test.
+    BABYLON.SceneLoader.OnPluginActivatedObservable.clear();
+
     var test = config.tests[index];
     var container = document.createElement("div");
     container.id = "container#" + index;