Skip to content

Commit

Permalink
use 32bit index by default on Unity 2017 or newer
Browse files Browse the repository at this point in the history
  • Loading branch information
i-saint committed Jan 22, 2018
1 parent 683db1c commit ae016b2
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -15,5 +15,12 @@ public class AlembicStreamSettings
[SerializeField] public bool treatVertexExtraDataAsStatics = false;
[SerializeField] public bool cacheSamples = false;
[SerializeField] public bool use32BitsIndexBuffer = false;

public AlembicStreamSettings()
{
#if UNITY_2017_3_OR_NEWER
use32BitsIndexBuffer = true;
#endif
}
}
}

0 comments on commit ae016b2

Please sign in to comment.