summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_byte_codegen.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-04-07 19:47:11 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-04-07 23:32:56 -0500
commitf3eca5abef18d0b64483b177fc9a5797e460933a (patch)
treed842c9eb77d1efb6f91626039510781d72d9828a /modules/gdscript/gdscript_byte_codegen.cpp
parent748fde8df0c85d63adb2d81fdab149d8f56cedc0 (diff)
downloadredot-engine-f3eca5abef18d0b64483b177fc9a5797e460933a.tar.gz
GDScript: Rename OPCODE_TYPE_ADJUST_TRANSFORM to have a 3D suffix
Diffstat (limited to 'modules/gdscript/gdscript_byte_codegen.cpp')
-rw-r--r--modules/gdscript/gdscript_byte_codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_byte_codegen.cpp b/modules/gdscript/gdscript_byte_codegen.cpp
index 000d36d2e6..a7e25f5aab 100644
--- a/modules/gdscript/gdscript_byte_codegen.cpp
+++ b/modules/gdscript/gdscript_byte_codegen.cpp
@@ -468,7 +468,7 @@ void GDScriptByteCodeGenerator::write_type_adjust(const Address &p_target, Varia
append(GDScriptFunction::OPCODE_TYPE_ADJUST_BASIS, 1);
break;
case Variant::TRANSFORM3D:
- append(GDScriptFunction::OPCODE_TYPE_ADJUST_TRANSFORM, 1);
+ append(GDScriptFunction::OPCODE_TYPE_ADJUST_TRANSFORM3D, 1);
break;
case Variant::COLOR:
append(GDScriptFunction::OPCODE_TYPE_ADJUST_COLOR, 1);