Browse Source

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

Fix error where this._engine.createDynamicTexture is undefined in VideoTexture
sebavan 5 years ago
parent
commit
307c996ef6
2 changed files with 2 additions and 0 deletions
  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))
 - 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 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))
 - 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
 ## 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 { Texture } from "../../Materials/Textures/texture";
 
 
 import "../../Engines/Extensions/engine.videoTexture";
 import "../../Engines/Extensions/engine.videoTexture";
+import "../../Engines/Extensions/engine.dynamicTexture";
 
 
 /**
 /**
  * Settings for finer control over video usage
  * Settings for finer control over video usage