From 0ec2452841a9458027106b6fe44bedd9a1b3da00 Mon Sep 17 00:00:00 2001 From: Baran Kahyaoglu Date: Tue, 12 Jan 2021 11:52:32 +0300 Subject: [PATCH] fix an issue where coroutine setting was placed under vector layer general settings and didn't effect layer-based coroutine flag --- sdkproject/Assets/Mapbox/Unity/Editor/MapManagerEditor.cs | 4 ++-- .../PropertyDrawers/FeaturesSubLayerPropertiesDrawer.cs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sdkproject/Assets/Mapbox/Unity/Editor/MapManagerEditor.cs b/sdkproject/Assets/Mapbox/Unity/Editor/MapManagerEditor.cs index d32cba6a7..72808b9f2 100644 --- a/sdkproject/Assets/Mapbox/Unity/Editor/MapManagerEditor.cs +++ b/sdkproject/Assets/Mapbox/Unity/Editor/MapManagerEditor.cs @@ -352,8 +352,8 @@ void DrawMapLayerOptions() { EditorGUILayout.PropertyField(layerProperty.FindPropertyRelative("optimizedStyle"), new GUIContent("Style Options")); } - GUILayout.Space(-_lineHeight); - EditorGUILayout.PropertyField(layerProperty.FindPropertyRelative("performanceOptions"), new GUIContent("Perfomance Options")); + // GUILayout.Space(-_lineHeight); + // EditorGUILayout.PropertyField(layerProperty.FindPropertyRelative("performanceOptions"), new GUIContent("Perfomance Options")); } EditorGUILayout.Space(); diff --git a/sdkproject/Assets/Mapbox/Unity/Editor/PropertyDrawers/FeaturesSubLayerPropertiesDrawer.cs b/sdkproject/Assets/Mapbox/Unity/Editor/PropertyDrawers/FeaturesSubLayerPropertiesDrawer.cs index 28f71eac9..442a69b32 100644 --- a/sdkproject/Assets/Mapbox/Unity/Editor/PropertyDrawers/FeaturesSubLayerPropertiesDrawer.cs +++ b/sdkproject/Assets/Mapbox/Unity/Editor/PropertyDrawers/FeaturesSubLayerPropertiesDrawer.cs @@ -529,6 +529,8 @@ void DrawLayerVisualizerProperties(VectorSourceType sourceType, SerializedProper EditorGUI.indentLevel++; + EditorGUILayout.PropertyField(layerProperty.FindPropertyRelative("performanceOptions"), new GUIContent("Perfomance Options")); + //*********************** FILTERS SECTION BEGINS ***********************************// var filterOptions = layerProperty.FindPropertyRelative("filterOptions"); filterOptions.FindPropertyRelative("_selectedLayerName").stringValue = subLayerCoreOptions.FindPropertyRelative("layerName").stringValue;