Skip to content

Commit

Permalink
[unreal]禁用静态wrap的字段cache功能,fix #763
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Apr 14, 2022
1 parent 08ff704 commit 347e57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unreal/Puerts/Source/JsEnv/Private/DataTransfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ v8::Local<v8::Value> DataTransfer::FindOrAddObject(
v8::Local<v8::Value> DataTransfer::FindOrAddStruct(
v8::Isolate* Isolate, v8::Local<v8::Context> Context, UScriptStruct* ScriptStruct, void* Ptr, bool PassByPointer)
{
return FV8Utils::IsolateData<IObjectMapper>(Isolate)->FindOrAddStruct(Isolate, Context, ScriptStruct, Ptr, PassByPointer);
return FV8Utils::IsolateData<IObjectMapper>(Isolate)->FindOrAddStruct(Isolate, Context, ScriptStruct, Ptr, PassByPointer, true);
}

bool DataTransfer::IsInstanceOf(v8::Isolate* Isolate, UStruct* Struct, v8::Local<v8::Object> JsObject)
Expand Down

0 comments on commit 347e57a

Please sign in to comment.