-fix sound room params (was not working)
-fixes to DAE exporter -ios fixes (video)
This commit is contained in:
@@ -54,7 +54,7 @@ void SoundRoomParams::_notification(int p_what) {
|
||||
|
||||
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
#if 0
|
||||
//#if 0
|
||||
Node *n=this;
|
||||
Room *room_instance=NULL;
|
||||
while(n) {
|
||||
@@ -74,11 +74,11 @@ void SoundRoomParams::_notification(int p_what) {
|
||||
if (room_instance) {
|
||||
room=room_instance->get_sound_room();
|
||||
} else {
|
||||
room=get_scene()->get_default_world()->get_sound_space();
|
||||
room=get_viewport()->find_world()->get_sound_space();
|
||||
}
|
||||
|
||||
_update_sound_room();
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
} break;
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
|
||||
Reference in New Issue
Block a user