Rename Transform to Transform3D in core
This commit is contained in:
parent
b80494e633
commit
de3f6699a5
257 changed files with 1697 additions and 1702 deletions
|
|
@ -3459,7 +3459,7 @@ void AnimationTrackEditor::_insert_delay(bool p_create_reset, bool p_create_bezi
|
|||
insert_queue = false;
|
||||
}
|
||||
|
||||
void AnimationTrackEditor::insert_transform_key(Node3D *p_node, const String &p_sub, const Transform &p_xform) {
|
||||
void AnimationTrackEditor::insert_transform_key(Node3D *p_node, const String &p_sub, const Transform3D &p_xform) {
|
||||
if (!keying) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -3946,7 +3946,7 @@ AnimationTrackEditor::TrackIndices AnimationTrackEditor::_confirm_insert(InsertD
|
|||
|
||||
} break;
|
||||
case Animation::TYPE_TRANSFORM: {
|
||||
Transform tr = p_id.value;
|
||||
Transform3D tr = p_id.value;
|
||||
Dictionary d;
|
||||
d["location"] = tr.origin;
|
||||
d["scale"] = tr.basis.get_scale();
|
||||
|
|
@ -4560,7 +4560,7 @@ void AnimationTrackEditor::_insert_key_from_track(float p_ofs, int p_track) {
|
|||
return;
|
||||
}
|
||||
|
||||
Transform xf = base->get_transform();
|
||||
Transform3D xf = base->get_transform();
|
||||
|
||||
Vector3 loc = xf.get_origin();
|
||||
Vector3 scale = xf.basis.get_scale_local();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue