Call on_object_properties_change callback when adding object to scene
This commit is contained in:
parent
26cfbda653
commit
b84ed7d0be
@ -828,6 +828,9 @@ void GenericCAO::addToScene(ITextureSource *tsrc)
|
||||
updateAttachments();
|
||||
setNodeLight(m_last_light);
|
||||
updateMeshCulling();
|
||||
|
||||
if (m_client->modsLoaded())
|
||||
m_client->getScript()->on_object_properties_change(m_id);
|
||||
}
|
||||
|
||||
void GenericCAO::updateLight(u32 day_night_ratio)
|
||||
|
Loading…
x
Reference in New Issue
Block a user