hide cursor by default
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2025-04-24 19:52:11 -04:00
parent 3ca9cd1247
commit 4e6a0d0145
2 changed files with 2 additions and 0 deletions

View File

@ -1522,6 +1522,7 @@ GriddedDataCellManager debugging tools
NavMesh bugfix NavMesh bugfix
Fix jump trees not enabling physics body Fix jump trees not enabling physics body
Priority based foliage content placement Priority based foliage content placement
Hide cursor by default

View File

@ -303,6 +303,7 @@ public class ClientLoading {
cursorActor.addTextureMask(new ActorTextureMask("sphere", Arrays.asList(new String[]{"Textures/transparent_red.png"}))); cursorActor.addTextureMask(new ActorTextureMask("sphere", Arrays.asList(new String[]{"Textures/transparent_red.png"})));
DrawableUtils.makeEntityTransparent(Globals.playerCursor); DrawableUtils.makeEntityTransparent(Globals.playerCursor);
EntityUtils.getScale(Globals.playerCursor).set(0.2f); EntityUtils.getScale(Globals.playerCursor).set(0.2f);
Globals.clientSceneWrapper.getScene().removeEntityFromTag(Globals.playerCursor, EntityTags.DRAWABLE);
//player's block cursor //player's block cursor
Globals.playerBlockCursor = EntityCreationUtils.createClientSpatialEntity(); Globals.playerBlockCursor = EntityCreationUtils.createClientSpatialEntity();