Explorar el Código

Merge pull request #7938 from rvadhavk/dynamic-texture-fix

Fix error where this._engine.createDynamicTexture is undefined in VideoTexture
sebavan hace 5 años
padre
commit
307c996ef6
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      dist/preview release/what's new.md
  2. 1 0
      src/Materials/Textures/videoTexture.ts

+ 1 - 0
dist/preview release/what's new.md

@@ -105,6 +105,7 @@
 - Fix mesh winding order inversion when merging meshes with overridden side orientation ([drigax](https://github.com/Drigax))
 - Fixed a rendering issue with GearVR in WebXR mode ([RaananW](https://github.com/RaananW))
 - Fixed error when downloading async createScene function in playground ([#7926](https://github.com/BabylonJS/Babylon.js/issues/7926)) ([RaananW](https://github.com/RaananW))
+- Fix issue where ThinEngine.prototype.createDynamicEngine is undefined when using VideoTexture with es6 packages ([rvadhavk](https://github.com/rvadhavk))
 
 ## Breaking changes
 

+ 1 - 0
src/Materials/Textures/videoTexture.ts

@@ -7,6 +7,7 @@ import { Engine } from "../../Engines/engine";
 import { Texture } from "../../Materials/Textures/texture";
 
 import "../../Engines/Extensions/engine.videoTexture";
+import "../../Engines/Extensions/engine.dynamicTexture";
 
 /**
  * Settings for finer control over video usage