@@ -72,10 +72,10 @@ namespace plugin {
7272 uint64_t UpdateSkinPartition_object[6 ] = {0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 };
7373 UpdateSkinPartition_object[0 ] = NIOVTaskUpdateSkinPartitionvtable;
7474
75- uint64_t *skinInstPtr = (uint64_t *) & geo->GetGeometryRuntimeData ().skinInstance ;
76- uint64_t *skinPartPtr = (uint64_t *) & newSkinPartition;
77- UpdateSkinPartition_object[1 ] = (uint64_t ) * skinPartPtr;
78- UpdateSkinPartition_object[2 ] = (uint64_t ) * skinInstPtr;
75+ uint64_t *skinInstPtr = (uint64_t *) geo->GetGeometryRuntimeData ().skinInstance . get () ;
76+ uint64_t *skinPartPtr = (uint64_t *) newSkinPartition. get () ;
77+ UpdateSkinPartition_object[1 ] = (uint64_t ) skinPartPtr;
78+ UpdateSkinPartition_object[2 ] = (uint64_t ) skinInstPtr;
7979 auto RunNIOVTaskUpdateSkinPartition = ((void (*)(uint64_t *))((uint64_t *) UpdateSkinPartition_object[0 ])[0 ]);
8080 RunNIOVTaskUpdateSkinPartition (UpdateSkinPartition_object);
8181 }
@@ -107,7 +107,7 @@ namespace plugin {
107107 if (multi_morph_tasks_scheduled == 0 ) {
108108 multi_morph_tasks_scheduled += 1 ;
109109 std::thread t ([] {
110- std::this_thread::sleep_for (std::chrono::milliseconds (350 ));
110+ std::this_thread::sleep_for (std::chrono::milliseconds (500 ));
111111 SKSE::GetTaskInterface ()->AddTask ([]() {
112112 std::lock_guard<std::recursive_mutex> l (queued_morphs_mutex);
113113 multi_morph_tasks_scheduled = 0 ;
@@ -133,6 +133,7 @@ namespace plugin {
133133 }
134134 }
135135 }
136+
136137 for (auto &ah: updated_actors) {
137138 if (auto actor = ah->get ()) {
138139 if (actor->Is3DLoaded ()) {
0 commit comments