Pamela Wolf преди 4 години
родител
ревизия
da80e2d3b5
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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);