feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -198,8 +198,8 @@ void Shader::get_shader_uniform_list(List<PropertyInfo> *p_params, bool p_get_gr
|
|||
}
|
||||
}
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (EditorHelp::get_doc_data() != nullptr && Engine::get_singleton()->is_editor_hint() && !class_doc.name.is_empty() && p_params) {
|
||||
EditorHelp::get_doc_data()->add_doc(class_doc);
|
||||
if (Engine::get_singleton()->is_editor_hint() && !class_doc.name.is_empty() && p_params) {
|
||||
EditorHelp::add_doc(class_doc);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
@ -312,7 +312,7 @@ Ref<Resource> ResourceFormatLoaderShader::load(const String &p_path, const Strin
|
|||
|
||||
String str;
|
||||
if (buffer.size() > 0) {
|
||||
error = str.parse_utf8((const char *)buffer.ptr(), buffer.size());
|
||||
error = str.append_utf8((const char *)buffer.ptr(), buffer.size());
|
||||
ERR_FAIL_COND_V_MSG(error, nullptr, "Cannot parse shader: " + p_path);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue