Skip to content

Commit 05b6fbb

Browse files
Stephen HodgsonStephen Hodgson
authored andcommitted
EditorGUILayoutExtenstions: made allowscene objects false by default.
1 parent 62fa246 commit 05b6fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/HoloToolkit/Utilities/Editor/EditorGUILayoutExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static void Label(string text, GUIStyle style, params GUILayoutOption[] o
4040
EditorGUILayout.EndHorizontal();
4141
}
4242

43-
public static T ObjectField<T>(GUIContent guiContent, T value, bool allowSceneObjects, GUILayoutOption[] guiLayoutOptions = null)
43+
public static T ObjectField<T>(GUIContent guiContent, T value, bool allowSceneObjects = false, GUILayoutOption[] guiLayoutOptions = null)
4444
{
4545
object objValue = value;
4646

0 commit comments

Comments
 (0)