summaryrefslogtreecommitdiffstats
path: root/editor/property_editor.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2020-10-17 01:08:21 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-06-03 07:30:01 -0400
commitde3f6699a5192153e9882a62b58b9ca6cd82ee2d (patch)
tree7cee99845cc6bf2db8a48f7776efb046c7990a67 /editor/property_editor.cpp
parentb80494e6331bdfbfd3c754aa225fa2a5105fb917 (diff)
downloadredot-engine-de3f6699a5192153e9882a62b58b9ca6cd82ee2d.tar.gz
Rename Transform to Transform3D in core
Diffstat (limited to 'editor/property_editor.cpp')
-rw-r--r--editor/property_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index 8b0d9ae0fc..287d9aa4d9 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -806,7 +806,7 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
field_names.push_back("zo");
config_value_editors(12, 4, 16, field_names);
- Transform tr = v;
+ Transform3D tr = v;
for (int i = 0; i < 9; i++) {
value_editor[(i / 3) * 4 + i % 3]->set_text(String::num(tr.basis.elements[i / 3][i % 3]));
}
@@ -1569,7 +1569,7 @@ void CustomPropertyEditor::_modified(String p_string) {
origin.y = _parse_real_expression(value_editor[7]->get_text());
origin.z = _parse_real_expression(value_editor[11]->get_text());
- v = Transform(basis, origin);
+ v = Transform3D(basis, origin);
_emit_changed_whole_or_field();
} break;