Pamela Wolf 4 anni fa
parent
commit
da80e2d3b5
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      guiEditor/src/diagram/graphCanvas.tsx

+ 2 - 0
guiEditor/src/diagram/graphCanvas.tsx

@@ -647,6 +647,8 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
         advancedTexture.addControl(button1);    
 
 
+        engine.runRenderLoop(() => {scene.render()});
+
         this._mouseStartPointX = null;
         this._mouseStartPointY = null;
         this._rootContainer.releasePointerCapture(evt.pointerId);