We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce7cea2 commit 7e77ebdCopy full SHA for 7e77ebd
plugins/map3d/MeasureObjects3D.jsx
@@ -144,6 +144,7 @@ class MeasureObjects3D extends React.Component {
144
const pickFeatureId = helper.getFeatureId(pick.face);
145
const pickUuid = pick.object.uuid + "#" + pickFeatureId;
146
if (pickUuid in this.state.measuredObjects) {
147
+ this.removeMeasurement(this.state.measuredObjects[pickUuid]);
148
return;
149
}
150
@@ -168,6 +169,7 @@ class MeasureObjects3D extends React.Component {
168
169
const index = pick.object.geometry.getIndex();
170
171
if (pick.object.uuid in this.state.measuredObjects) {
172
+ this.removeMeasurement(this.state.measuredObjects[pick.object.uuid]);
173
174
175
0 commit comments