Skip to content

Commit b635675

Browse files
committed
#3099: Fix PBR copy/paste not working
1 parent b72f108 commit b635675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/llgltfmateriallist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ void LLGLTFMaterialList::flushUpdates(void(*done_callback)(bool))
409409
{
410410
callback_holder = std::make_shared<CallbackHolder>(done_callback);
411411
}
412-
while (!sModifyQueue.empty() || !sApplyQueue.empty())
412+
while (!sModifyQueue.empty() || !sApplyQueue.empty() || !sUpdates.isEmpty())
413413
{
414414
flushUpdatesOnce(callback_holder);
415415
}

0 commit comments

Comments
 (0)