Allow editing editor settings from project manager
This commit is contained in:
@ -1870,7 +1870,7 @@ void MaterialStorage::global_shader_parameter_remove(const StringName &p_name) {
|
||||
}
|
||||
|
||||
Vector<StringName> MaterialStorage::global_shader_parameter_get_list() const {
|
||||
if (!Engine::get_singleton()->is_editor_hint()) {
|
||||
if (!Engine::get_singleton()->is_editor_hint() && !Engine::get_singleton()->is_project_manager_hint()) {
|
||||
ERR_FAIL_V_MSG(Vector<StringName>(), "This function should never be used outside the editor, it can severely damage performance.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user