Remove unlogical PrefabManager::IsNotCreatingPrefab (use IsCreatingPrefab flag)
This commit is contained in:
@@ -419,7 +419,7 @@ void StaticModel::Serialize(SerializeStream& stream, const void* otherObj)
|
||||
|
||||
if (HasLightmap()
|
||||
#if USE_EDITOR
|
||||
&& PrefabManager::IsNotCreatingPrefab
|
||||
&& !PrefabManager::IsCreatingPrefab
|
||||
#endif
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user