feat: more rotation gizmo improvements
This commit is contained in:
@@ -8,5 +8,5 @@ ROTATION_GIZMO_GLB_PACKAGE:
|
||||
ROTATION_GIZMO_GLB_ROTATION_GIZMO_OFFSET:
|
||||
.int 0
|
||||
ROTATION_GIZMO_GLB_ROTATION_GIZMO_SIZE:
|
||||
.int 163152
|
||||
.int 156056
|
||||
|
||||
|
||||
@@ -8,5 +8,5 @@ _ROTATION_GIZMO_GLB_PACKAGE:
|
||||
_ROTATION_GIZMO_GLB_ROTATION_GIZMO_OFFSET:
|
||||
.int 0
|
||||
_ROTATION_GIZMO_GLB_ROTATION_GIZMO_SIZE:
|
||||
.int 163152
|
||||
.int 156056
|
||||
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -201,14 +201,17 @@ namespace thermion
|
||||
}
|
||||
else
|
||||
{
|
||||
if(entity == axis->getEntity()) {
|
||||
if (entity == axis->getEntity())
|
||||
{
|
||||
TRACE("MATCHED AXIS HEAD ENTITY");
|
||||
result = GizmoPickResultType(axisIndex);
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int entityIndex = 0; entityIndex < axis->getChildEntityCount(); entityIndex++)
|
||||
{
|
||||
auto childEntity = axis->getChildEntities()[entityIndex];
|
||||
|
||||
|
||||
if (entity == childEntity)
|
||||
{
|
||||
TRACE("MATCHED AXIS CHILD ENTITY %d (index %d)", childEntity, entityIndex);
|
||||
|
||||
Reference in New Issue
Block a user