Browse Source

Fix actions

sebavan 6 năm trước cách đây
mục cha
commit
ac8a743ed9
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      src/Actions/condition.ts

+ 5 - 0
src/Actions/condition.ts

@@ -1,4 +1,5 @@
 import { Action } from "./action";
+import { _TypeStore } from "../Misc/typeStore";
 
 declare type ActionManager = import("./actionManager").ActionManager;
 
@@ -320,3 +321,7 @@ declare type ActionManager = import("./actionManager").ActionManager;
             });
         }
     }
+
+    _TypeStore.RegisteredTypes["BABYLON.ValueCondition"] = ValueCondition;
+    _TypeStore.RegisteredTypes["BABYLON.PredicateCondition"] = PredicateCondition;
+    _TypeStore.RegisteredTypes["BABYLON.StateCondition"] = StateCondition;