Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #345 and #299 #346

Merged
merged 1 commit into from
Apr 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix for #345
  • Loading branch information
kerfuffles committed Apr 14, 2022
commit 63f13467af231b60e20d6d00849298c44f3b1e4c
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.SceneManagement;
using UnityEditor.SceneManagement;
using UnityEditor;
using InternalRealtimeCSG;
using System.Reflection;
using UnityEngine.Rendering;
using System.Runtime.InteropServices;

namespace RealtimeCSG
{
Expand All @@ -20,6 +12,9 @@ internal partial class InternalCSGModelManager
internal static NativeMethods External;

#region Clear
#if UNITY_2019_4_OR_NEWER
[RuntimeInitializeOnLoadMethod( RuntimeInitializeLoadType.SubsystemRegistration )]
#endif
public static void Clear()
{
BrushOutlineManager.ClearOutlines();
Expand Down