-fix sound room params (was not working)

-fixes to DAE exporter
-ios fixes (video)
This commit is contained in:
Juan Linietsky
2014-11-26 14:24:13 -03:00
parent e709468bb1
commit d70e16f72f
7 changed files with 68 additions and 6 deletions
+3 -3
View File
@@ -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: {