mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Fix bugs with internalName accessor
This commit is contained in:
parent
838395840d
commit
98a2fa0f33
3 changed files with 47 additions and 4 deletions
|
|
@ -1304,12 +1304,13 @@ U32 InternalSlotAccessNode::compile(CodeStream& codeStream, U32 ip, TypeReq type
|
|||
ip = objectExpr->compile(codeStream, ip, TypeReqString);
|
||||
codeStream.emit(OP_SETCUROBJECT);
|
||||
|
||||
// we pop the stack as we will override the current object with the internal object
|
||||
codeStream.emit(OP_POP_STK);
|
||||
|
||||
ip = slotExpr->compile(codeStream, ip, TypeReqString);
|
||||
codeStream.emit(OP_SETCUROBJECT_INTERNAL);
|
||||
codeStream.emit(recurse);
|
||||
|
||||
codeStream.emit(OP_POP_STK);
|
||||
|
||||
return codeStream.tell();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue