瀏覽代碼

[unity] Potential fix for editor artifacts showing bones over Inspector window (Mac M1). See #2353.

Harald Csaszar 2 年之前
父節點
當前提交
062303a419

+ 2 - 2
spine-unity/Assets/Spine/Editor/spine-unity/Editor/Components/SkeletonRendererInspector.cs

@@ -202,7 +202,7 @@ namespace Spine.Unity.Editor {
 
 			if (!isInspectingPrefab) {
 				if (requireRepaint) {
-					UnityEditorInternal.InternalEditorUtility.RepaintAllViews();
+					SceneView.RepaintAll();
 					requireRepaint = false;
 				}
 			}
@@ -586,7 +586,7 @@ namespace Spine.Unity.Editor {
 
 				if (mismatchDetected) {
 					mismatchDetected = false;
-					UnityEditorInternal.InternalEditorUtility.RepaintAllViews();
+					SceneView.RepaintAll();
 				}
 			}
 		}

+ 1 - 1
spine-unity/Assets/Spine/package.json

@@ -2,7 +2,7 @@
 	"name": "com.esotericsoftware.spine.spine-unity",
 	"displayName": "spine-unity Runtime",
 	"description": "This plugin provides the spine-unity runtime core.",
-	"version": "4.1.18",
+	"version": "4.1.19",
 	"unity": "2018.3",
 	"author": {
 		"name": "Esoteric Software",