paint: ui fixes

This commit is contained in:
luboslenco
2026-07-01 11:53:20 +02:00
parent 22e29de797
commit 55d3e4ec09
6 changed files with 134 additions and 19 deletions
-4
View File
@@ -19,10 +19,6 @@ void render_gizmo_update() {
object_t *paint_object = g_context->paint_object->base;
if (g_context->tool == TOOL_TYPE_CURSOR && g_context->selected_object != NULL) {
paint_object = g_context->selected_object;
}
if (is_object) {
gizmo->transform->loc =
(vec4_t){transform_world_x(paint_object->transform), transform_world_y(paint_object->transform), transform_world_z(paint_object->transform), 1.0};