Browse Source

Move showManipulationToolbar outside of if statement (#3694)

develop
Tasman Drake 7 years ago
committed by Yotam Berkowitz
parent
commit
4d1af99987
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/network/modules/ManipulationSystem.js

+ 1
- 1
lib/network/modules/ManipulationSystem.js View File

@ -1156,8 +1156,8 @@ class ManipulationSystem {
this.options.addNode(defaultData, (finalizedData) => {
if (finalizedData !== null && finalizedData !== undefined && this.inMode === 'addNode') { // if for whatever reason the mode has changes (due to dataset change) disregard the callback
this.body.data.nodes.getDataSet().add(finalizedData);
this.showManipulatorToolbar();
}
this.showManipulatorToolbar();
});
}
else {

Loading…
Cancel
Save