Add method to Canvas for refreshing the 3D view

This commit is contained in:
Rikard Bartholf
2017-05-19 11:46:28 +02:00
parent 7983769dff
commit 587ad487e7
2 changed files with 12 additions and 3 deletions
+1 -3
View File
@@ -140,9 +140,7 @@ function Viewport(canvas) {
*/
this.setFrame = function (frameType) {
this.getFrameHandler().setFrames(frameType);
if (canvas.get3dHandler().isEnabled()) {
canvas.toggle3D(true);
}
canvas.refresh3dView();
};
this.getData = function () {