Skip to content

Commit

Permalink
Mark project settings as basic so they are always shown (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiaanOlij authored Aug 1, 2023
1 parent bb12099 commit 95d11be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/godot-xr-tools/plugin.gd
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ func _define_project_setting(
}

ProjectSettings.add_property_info(property_info)
if ProjectSettings.has_method("set_as_basic"):
ProjectSettings.call("set_as_basic", p_name, true)
ProjectSettings.set_initial_value(p_name, p_default_val)


Expand Down

0 comments on commit 95d11be

Please sign in to comment.