Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kerfuffles authored and Zallist committed Sep 23, 2022
1 parent 609f280 commit 3f06efa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal partial class InternalCSGModelManager
internal static NativeMethods External;

#region Clear
#if UNITY_2019_4_OR_NEWER
#if UNITY_2019_4_OR_NEWER
[RuntimeInitializeOnLoadMethod( RuntimeInitializeLoadType.SubsystemRegistration )]
#endif
public static void Clear()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,14 +409,14 @@ public static void UpdateHelperSurfaces()
if (!ModelTraits.IsModelEditable(model))
continue;

if( !model.generatedMeshes )
continue;

var container = model.generatedMeshes;
if (container.owner != model ||
!container.gameObject)
continue;

if (!model.generatedMeshes)
continue;


if (!container.HasHelperSurfaces)
{
if (!container.HasMeshInstances)
Expand Down

0 comments on commit 3f06efa

Please sign in to comment.