mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-19 09:53:14 +02:00
Rotate the text by 180 degrees in WorldSpawner3DSpatialGizmoPlugin.
This commit is contained in:
parent
b2f33108fa
commit
12b42eaab1
@ -150,5 +150,7 @@ void WorldSpawner3DSpatialGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) {
|
||||
text_mesh->set_font(EditorNode::get_singleton()->get_theme_base()->get_theme_font("main", "EditorFonts"));
|
||||
Transform tt;
|
||||
tt.set_origin(Vector3(0, 1.6, 0));
|
||||
// TODO this should be configurable
|
||||
tt.basis.rotate_local(Vector3(0, 1, 0), Math_PI);
|
||||
p_gizmo->add_mesh(text_mesh, text_material, tt);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user