Skip to content

Commit 207ea52

Browse files
Use explicitly layer zero for independant system
That's actually the way the runtime assumed
1 parent 49c6c52 commit 207ea52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.visualeffectgraph/Editor/Data/VFXData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ private void ComputeLayer()
375375
{
376376
if (!m_DependenciesIn.Any() && !m_DependenciesOut.Any())
377377
{
378-
m_Layer = uint.MaxValue; //Completely independent system
378+
m_Layer = 0; //Independent system, choose layer 0 anyway.
379379
}
380380
else
381381
{

0 commit comments

Comments
 (0)