Skip to content

Commit f897c97

Browse files
authored
Set scaleFactor = 1 in property drawer. (#665)
1 parent bd139a1 commit f897c97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdkproject/Assets/Mapbox/Unity/Editor/PropertyDrawers/VectorLayerPropertiesDrawer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
174174
subLayerExtrusionOptions.FindPropertyRelative("extrusionType").enumValueIndex = (int)ExtrusionType.None;
175175
subLayerExtrusionOptions.FindPropertyRelative("extrusionGeometryType").enumValueIndex = (int)ExtrusionGeometryType.RoofAndSide;
176176
subLayerExtrusionOptions.FindPropertyRelative("propertyName").stringValue = "height";
177+
subLayerExtrusionOptions.FindPropertyRelative("extrusionScaleFactor").floatValue = 1f;
177178

178179
var subLayerFilterOptions = subLayer.FindPropertyRelative("filterOptions");
179180
subLayerFilterOptions.FindPropertyRelative("filters").ClearArray();

0 commit comments

Comments
 (0)