From 24ca35b00af9f3616be0f9496ce95ced4e3ed5ee Mon Sep 17 00:00:00 2001
From: Ugo Albanese <u.albanese@santannapisa.it>
Date: Fri, 17 Apr 2020 18:16:39 +0200
Subject: [PATCH] [NRRPLT-7880] Remove leftover call to GUI.setRealTime and
 setSimTime from GZIface

---
 gz3d/build/gz3d.js  | 3 ---
 gz3d/src/gziface.js | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/gz3d/build/gz3d.js b/gz3d/build/gz3d.js
index 671fedd..d625fb1 100644
--- a/gz3d/build/gz3d.js
+++ b/gz3d/build/gz3d.js
@@ -5407,9 +5407,6 @@ GZ3D.GZIface.prototype.updateStatsGuiFromMsg = function(stats) {
     simTimeValue += '0';
   }
   simTimeValue += simSec.toFixed(0);
-
-  this.gui.setRealTime(realTimeValue);
-  this.gui.setSimTime(simTimeValue);
 };
 
 var getShapeName = function(object3D) {
diff --git a/gz3d/src/gziface.js b/gz3d/src/gziface.js
index f73828c..9571915 100644
--- a/gz3d/src/gziface.js
+++ b/gz3d/src/gziface.js
@@ -893,9 +893,6 @@ GZ3D.GZIface.prototype.updateStatsGuiFromMsg = function(stats) {
     simTimeValue += '0';
   }
   simTimeValue += simSec.toFixed(0);
-
-  this.gui.setRealTime(realTimeValue);
-  this.gui.setSimTime(simTimeValue);
 };
 
 var getShapeName = function(object3D) {
-- 
GitLab