Skip to content

Commit

Permalink
Added handling suggestion to EnableTransformControls()
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruv-0-Arora committed Jul 16, 2024
1 parent cbcf154 commit 7252270
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fission/src/mirabuf/MirabufSceneObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ class MirabufSceneObject extends SceneObject {
* Changes the mode of the mirabuf object from being interacted with to being placed.
*/
public EnableTransformControls(): void {
if (this._transformGizmos) return

this._transformGizmos = new TransformGizmos(
new THREE.Mesh(
new THREE.SphereGeometry(3.0),
Expand Down

0 comments on commit 7252270

Please sign in to comment.