From c6e5ae153d2b08ec0303de3c412e9b49806ae5f6 Mon Sep 17 00:00:00 2001 From: Alezia Kurdis <60075796+AleziaKurdis@users.noreply.github.com> Date: Fri, 21 Mar 2025 21:41:54 -0400 Subject: [PATCH] Add method to get the local entity ID Add method to get the local entity ID to be able to exclude it from the entity list in create app --- scripts/system/libraries/gridTool.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/system/libraries/gridTool.js b/scripts/system/libraries/gridTool.js index fd40a87574..27e9b0a8f0 100644 --- a/scripts/system/libraries/gridTool.js +++ b/scripts/system/libraries/gridTool.js @@ -1,9 +1,9 @@ // gridTool.js // -// Created by Ryan Huffman on 6 Nov 2014 +// Created by Ryan Huffman on November 6th, 2014 // Copyright 2014 High Fidelity, Inc. // Copyright 2020 Vircadia contributors. -// Copyright 2022-2023 Overte e.V. +// Copyright 2022-2025 Overte e.V. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html @@ -47,6 +47,10 @@ Grid = function() { return origin; }; + that.getGridEntityToolID = function() { + return gridEntityTool; + }; + that.getMinorIncrement = function() { return minorGridEvery; };