mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
fix updating chart error
This commit is contained in:
@@ -210,6 +210,7 @@ function addGanttElement(blenderId, tasks, workSched, filename) {
|
|||||||
function updateGanttElement(blenderId, tasks, workSched, filename) {
|
function updateGanttElement(blenderId, tasks, workSched, filename) {
|
||||||
let g = connectedClients[blenderId]["gantt"];
|
let g = connectedClients[blenderId]["gantt"];
|
||||||
g.ClearTasks();
|
g.ClearTasks();
|
||||||
|
g.Draw();
|
||||||
JSGantt.addJSONTask(g, tasks);
|
JSGantt.addJSONTask(g, tasks);
|
||||||
g.Draw();
|
g.Draw();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user