Merge pull request #93127 from BlueCube3310/material-ready

Material: Fix marking as ready
This commit is contained in:
Rémi Verschelde 2024-06-14 10:19:38 +02:00
commit b4e7947d3f
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -82,7 +82,7 @@ void Material::_validate_property(PropertyInfo &p_property) const {
}
void Material::_mark_ready() {
init_state = INIT_STATE_INITIALIZING;
init_state = INIT_STATE_READY;
}
void Material::_mark_initialized(const Callable &p_add_to_dirty_list, const Callable &p_update_shader) {