|
@@ -72,7 +72,7 @@ module BABYLON {
|
|
public originalScene: Scene){
|
|
public originalScene: Scene){
|
|
// Create scene which will be rendered in the foreground and remove it from being referenced by engine to avoid interfering with existing app
|
|
// Create scene which will be rendered in the foreground and remove it from being referenced by engine to avoid interfering with existing app
|
|
this.utilityLayerScene = new BABYLON.Scene(originalScene.getEngine());
|
|
this.utilityLayerScene = new BABYLON.Scene(originalScene.getEngine());
|
|
- this.utilityLayerScene._allowPostProcessClear = false;
|
|
|
|
|
|
+ this.utilityLayerScene._allowPostProcessClearColor = false;
|
|
originalScene.getEngine().scenes.pop();
|
|
originalScene.getEngine().scenes.pop();
|
|
|
|
|
|
// Detach controls on utility scene, events will be fired by logic below to handle picking priority
|
|
// Detach controls on utility scene, events will be fired by logic below to handle picking priority
|