Forráskód Böngészése

Fix component naming

sebastien 7 éve
szülő
commit
fa1e27a315
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/Rendering/babylon.geometryBufferRenderer.ts

+ 1 - 1
src/Rendering/babylon.geometryBufferRenderer.ts

@@ -68,7 +68,7 @@ module BABYLON {
             this._ratio = ratio;
             this._ratio = ratio;
 
 
             // Register the G Buffer component to the scene.
             // Register the G Buffer component to the scene.
-            let component = scene._getComponent(SceneComponentConstants.NAME_GEOMETRYBUFFER) as GeometryBufferRendererSceneComponent;
+            let component = scene._getComponent(SceneComponentConstants.NAME_GEOMETRYBUFFERRENDERER) as GeometryBufferRendererSceneComponent;
             if (!component) {
             if (!component) {
                 component = new GeometryBufferRendererSceneComponent(scene);
                 component = new GeometryBufferRendererSceneComponent(scene);
                 scene._addComponent(component);
                 scene._addComponent(component);