Browse Source

rendering button

Pamela Wolf 4 years ago
parent
commit
da80e2d3b5
1 changed files with 2 additions and 0 deletions
  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);