diff --git a/code/nel/tools/3d/object_viewer_qt/src/edit_range_widget.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/edit_range_widget.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/edit_range_widget.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/edit_range_widget.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/edit_range_widget.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/edit_range_widget.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/edit_range_widget.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/edit_range_widget.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/emitter_form.ui b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/emitter_form.ui
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/emitter_form.ui
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/emitter_form.ui
diff --git a/code/nel/tools/3d/object_viewer_qt/src/emitter_page.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/emitter_page.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/emitter_page.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/emitter_page.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/emitter_page.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/emitter_page.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/emitter_page.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/emitter_page.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/entity.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/entity.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/entity.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/entity.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/entity.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/entity.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/entity.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/entity.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/follow_path_dialog.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/follow_path_dialog.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/follow_path_dialog.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/follow_path_dialog.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/follow_path_dialog.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/follow_path_dialog.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/follow_path_dialog.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/follow_path_dialog.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/global_wind_dialog.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/global_wind_dialog.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/global_wind_dialog.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/global_wind_dialog.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/global_wind_dialog.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/global_wind_dialog.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/global_wind_dialog.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/global_wind_dialog.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/global_wind_form.ui b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/global_wind_form.ui
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/global_wind_form.ui
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/global_wind_form.ui
diff --git a/code/nel/tools/3d/object_viewer_qt/src/graphics_viewport.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/graphics_viewport.cpp
similarity index 99%
rename from code/nel/tools/3d/object_viewer_qt/src/graphics_viewport.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/graphics_viewport.cpp
index 04f956c11..2a15932b7 100644
--- a/code/nel/tools/3d/object_viewer_qt/src/graphics_viewport.cpp
+++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/graphics_viewport.cpp
@@ -49,7 +49,6 @@ namespace NLQT
CGraphicsViewport::CGraphicsViewport(QWidget *parent)
: QNLWidget(parent)
{
- this->setStatusTip("Status ready");
}
CGraphicsViewport::~CGraphicsViewport()
diff --git a/code/nel/tools/3d/object_viewer_qt/src/graphics_viewport.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/graphics_viewport.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/graphics_viewport.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/graphics_viewport.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/hoverpoints.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/hoverpoints.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/hoverpoints.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/hoverpoints.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/hoverpoints.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/hoverpoints.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/hoverpoints.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/hoverpoints.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/Emitter.bmp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/Emitter.bmp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/Emitter.bmp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/Emitter.bmp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/Force.bmp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/Force.bmp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/Force.bmp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/Force.bmp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/anim.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/anim.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/anim.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/anim.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/animset.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/animset.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/animset.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/animset.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/bad_particle_system_item.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/bad_particle_system_item.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/bad_particle_system_item.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/bad_particle_system_item.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/cam_add.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/cam_add.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/cam_add.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/cam_add.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/cam_del.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/cam_del.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/cam_del.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/cam_del.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/clear.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/clear.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/clear.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/clear.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/collision_zone_item.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/collision_zone_item.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/collision_zone_item.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/collision_zone_item.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/dqynight.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/dqynight.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/dqynight.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/dqynight.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/go-down.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/go-down.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/go-down.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/go-down.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/go-up.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/go-up.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/go-up.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/go-up.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/ico_bgcolor.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_bgcolor.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/ico_bgcolor.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_bgcolor.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/ico_framedelay.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_framedelay.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/ico_framedelay.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_framedelay.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/ico_light_group.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_light_group.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/ico_light_group.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_light_group.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/ico_mrm_mesh.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_mrm_mesh.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/ico_mrm_mesh.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_mrm_mesh.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/ico_skelscale.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_skelscale.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/ico_skelscale.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/ico_skelscale.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/insert-horizontal.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/insert-horizontal.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/insert-horizontal.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/insert-horizontal.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/insert.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/insert.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/insert.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/insert.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/instance_item.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/instance_item.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/instance_item.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/instance_item.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/light_item.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/light_item.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/light_item.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/light_item.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/list-add.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/list-add.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/list-add.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/list-add.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/list-remove.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/list-remove.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/list-remove.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/list-remove.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/located_item.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/located_item.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/located_item.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/located_item.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/mixer.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/mixer.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/mixer.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/mixer.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/nel.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/nel.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/nel.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/nel.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/new.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/new.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/new.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/new.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/open-file.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/open-file.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/open-file.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/open-file.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/particle_item.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/particle_item.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/particle_item.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/particle_item.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/particle_system_item.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/particle_system_item.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/particle_system_item.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/particle_system_item.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/pause.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/pause.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/pause.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/pause.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/play.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/play.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/play.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/play.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/polymode.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/polymode.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/polymode.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/polymode.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/pqrticles.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/pqrticles.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/pqrticles.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/pqrticles.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/preferences.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/preferences.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/preferences.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/preferences.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/refresh.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/refresh.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/refresh.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/refresh.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/rmfill.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/rmfill.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/rmfill.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/rmfill.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/rmline.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/rmline.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/rmline.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/rmline.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/rmpoints.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/rmpoints.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/rmpoints.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/rmpoints.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/save-as.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/save-as.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/save-as.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/save-as.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/save.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/save.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/save.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/save.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/seek-backward.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/seek-backward.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/seek-backward.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/seek-backward.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/seek-forward.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/seek-forward.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/seek-forward.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/seek-forward.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/skip-backward.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/skip-backward.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/skip-backward.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/skip-backward.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/skip-forward.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/skip-forward.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/skip-forward.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/skip-forward.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/sound.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/sound.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/sound.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/sound.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/sound_item.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/sound_item.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/sound_item.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/sound_item.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/stop.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/stop.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/stop.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/stop.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/time.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/time.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/time.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/time.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/veget.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/veget.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/veget.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/veget.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/water.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/water.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/water.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/water.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/wind.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/wind.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/wind.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/wind.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/images/workspace_item.png b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/workspace_item.png
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/images/workspace_item.png
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/images/workspace_item.png
diff --git a/code/nel/tools/3d/object_viewer_qt/src/located_bindable_form.ui b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_bindable_form.ui
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/located_bindable_form.ui
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_bindable_form.ui
diff --git a/code/nel/tools/3d/object_viewer_qt/src/located_bindable_page.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_bindable_page.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/located_bindable_page.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_bindable_page.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/located_bindable_page.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_bindable_page.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/located_bindable_page.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_bindable_page.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/located_form.ui b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_form.ui
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/located_form.ui
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_form.ui
diff --git a/code/nel/tools/3d/object_viewer_qt/src/located_page.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_page.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/located_page.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_page.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/located_page.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_page.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/located_page.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/located_page.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/main_window.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/main_window.cpp
similarity index 79%
rename from code/nel/tools/3d/object_viewer_qt/src/main_window.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/main_window.cpp
index a157c7e78..8a1ae7764 100644
--- a/code/nel/tools/3d/object_viewer_qt/src/main_window.cpp
+++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/main_window.cpp
@@ -51,6 +51,10 @@
#include "tune_timer_dialog.h"
#include "camera_control.h"
+#include "../core/icore.h"
+#include "../core/imenu_manager.h"
+#include "../core/core_constants.h"
+
using namespace std;
using namespace NLMISC;
@@ -97,7 +101,6 @@ CMainWindow::CMainWindow(QWidget *parent)
createActions();
createMenus();
createToolBars();
- createStatusBar();
setWindowIcon(QIcon(":/images/nel.png"));
@@ -117,8 +120,8 @@ CMainWindow::CMainWindow(QWidget *parent)
_statusBarTimer = new QTimer(this);
connect(_statusBarTimer, SIGNAL(timeout()), this, SLOT(updateStatusBar()));
- _statusInfo = new QLabel(this);
- this->statusBar()->addPermanentWidget(_statusInfo);
+ //_statusInfo = new QLabel(this);
+ // statusBar()->addPermanentWidget(_statusInfo);
}
CMainWindow::~CMainWindow()
@@ -154,28 +157,25 @@ CMainWindow::~CMainWindow()
delete _GraphicsViewport;
}
-void CMainWindow::setVisible(bool visible)
+void CMainWindow::showEvent(QShowEvent *showEvent)
{
- // called by show()
- // code assuming visible window needed to init the 3d driver
- if (visible != isVisible())
+ QWidget::showEvent(showEvent);
+ if (isVisible())
{
- if (visible)
- {
- QMainWindow::setVisible(true);
- if (_isSoundInitialized)
- Modules::sound().initGraphics();
- _mainTimer->start();
- _statusBarTimer->start(1000);
- }
- else
- {
- _mainTimer->stop();
- _statusBarTimer->stop();
- if (_isSoundInitialized)
- Modules::sound().releaseGraphics();
- QMainWindow::setVisible(false);
- }
+ QMainWindow::setVisible(true);
+ Modules::objView().getDriver()->activate();
+ if (_isSoundInitialized)
+ Modules::sound().initGraphics();
+ _mainTimer->start();
+ //_statusBarTimer->start(1000);
+ }
+ else
+ {
+ _mainTimer->stop();
+ //_statusBarTimer->stop();
+ if (_isSoundInitialized)
+ Modules::sound().releaseGraphics();
+ QMainWindow::setVisible(false);
}
}
@@ -239,23 +239,16 @@ void CMainWindow::settings()
_settingsDialog.exec();
}
-void CMainWindow::about()
-{
- QMessageBox::about(this, tr("About Object Viewer Qt"),
- tr("Object Viewer Qt 8-)
"
- " Authors: dnk-88, sfb, Kaetemi, kervala
Compiled on %1 %2").arg(__DATE__).arg(__TIME__));
-}
-
void CMainWindow::updateStatusBar()
{
- if (_isGraphicsInitialized)
+/* if (_isGraphicsInitialized)
{
_statusInfo->setText(QString("%1, Nb tri: %2 , Texture used (Mb): %3 , fps: %4 ").arg(
Modules::objView().getDriver()->getVideocardInformation()).arg(
_numTri).arg(
_texMem, 0,'f',4).arg(
_fps, 0,'f',2));
- }
+ }*/
}
void CMainWindow::createActions()
@@ -266,25 +259,11 @@ void CMainWindow::createActions()
_openAction->setStatusTip(tr("Open an existing file"));
connect(_openAction, SIGNAL(triggered()), this, SLOT(open()));
- _exitAction = new QAction(tr("E&xit"), this);
- _exitAction->setShortcut(tr("Ctrl+Q"));
- _exitAction->setStatusTip(tr("Exit the application"));
- connect(_exitAction, SIGNAL(triggered()), this, SLOT(close()));
-
_setBackColorAction = _GraphicsViewport->createSetBackgroundColor(this);
_setBackColorAction->setText(tr("Set &background color"));
_setBackColorAction->setIcon(QIcon(":/images/ico_bgcolor.png"));
_setBackColorAction->setStatusTip(tr("Set background color"));
- _resetCameraAction = new QAction(tr("Reset camera"), this);
- _resetCameraAction->setShortcut(tr("Ctrl+R"));
- _resetCameraAction->setStatusTip(tr("Reset current camera"));
-
- _renderModeAction = new QAction("Change render mode", this);
- _renderModeAction->setIcon(QIcon(":/images/polymode.png"));
- _renderModeAction->setShortcut(tr("Ctrl+M"));
- _renderModeAction->setStatusTip(tr("Change render mode (Line, Point, Filled)"));
-
_resetSceneAction = new QAction(tr("&Reset scene"), this);
_resetSceneAction->setStatusTip(tr("Reset current scene"));
connect(_resetSceneAction, SIGNAL(triggered()), this, SLOT(resetScene()));
@@ -297,78 +276,77 @@ void CMainWindow::createActions()
_saveScreenshotAction->setText(tr("Save &Screenshot"));
_saveScreenshotAction->setStatusTip(tr("Make a screenshot of the current viewport and save"));
- _settingsAction = new QAction(tr("&Settings"), this);
+ _settingsAction = new QAction(tr("&Settings OV"), this);
_settingsAction->setIcon(QIcon(":/images/preferences.png"));
_settingsAction->setStatusTip(tr("Settings"));
connect(_settingsAction, SIGNAL(triggered()), this, SLOT(settings()));
-
- _aboutAction = new QAction(tr("&About"), this);
- _aboutAction->setStatusTip(tr("Show the application's About box"));
- connect(_aboutAction, SIGNAL(triggered()), this, SLOT(about()));
-
- _aboutQtAction = new QAction(tr("About &Qt"), this);
- _aboutQtAction->setStatusTip(tr("Show the Qt library's About box"));
- connect(_aboutQtAction, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
}
void CMainWindow::createMenus()
{
- _fileMenu = menuBar()->addMenu(tr("&File"));
- _fileMenu->setObjectName("ovqt.Menu.File");
- _fileMenu->addAction(_openAction);
- _fileMenu->addSeparator();
- _fileMenu->addAction(_exitAction);
-
- _viewMenu = menuBar()->addMenu(tr("&View"));
- _viewMenu->setObjectName("ovqt.Menu.View");
- _viewMenu->addAction(_setBackColorAction);
- _viewMenu->addAction(_resetCameraAction);
- _viewMenu->addAction(_renderModeAction);
- _viewMenu->addAction(_SetupFog->toggleViewAction());
-
- _sceneMenu = menuBar()->addMenu(tr("&Scene"));
- _sceneMenu->setObjectName("ovqt.Menu.Scene");
- _sceneMenu->addAction(_resetSceneAction);
- _sceneMenu->addAction(_reloadTexturesAction);
- _sceneMenu->addAction(_saveScreenshotAction);
-
- _toolsMenu = menuBar()->addMenu(tr("&Tools"));
- _toolsMenu->setObjectName("ovqt.Menu.Tools");
-
- _toolsMenu->addAction(_AnimationDialog->toggleViewAction());
+ Core::IMenuManager *menuManager = Core::ICore::instance()->menuManager();
+
+ // register actions for file menu
+ menuManager->registerAction(_openAction, "ObjectViewer.File.Open");
+
+ // add actions in file menu
+ QMenu *fileMenu = menuManager->menu(Core::Constants::M_FILE);
+ QAction *exitAction = menuManager->action(Core::Constants::EXIT);
+ fileMenu->insertAction(exitAction, _openAction);
+ fileMenu->insertSeparator(exitAction);
+
+ // register actions for view menu
+ menuManager->registerAction(_setBackColorAction, "ObjectViewer.View.SetBackgroundColor");
+ menuManager->registerAction(_SetupFog->toggleViewAction(), "ObjectViewer.View.SetupFog");
+ menuManager->registerAction(_resetSceneAction, "ObjectViewer.View.ResetScene");
+ menuManager->registerAction(_reloadTexturesAction, "ObjectViewer.View.ReloadTextures");
+ menuManager->registerAction(_saveScreenshotAction, "ObjectViewer.View.SaveScreenshot");
+
+ // add actions in view menu
+ QMenu *viewMenu = menuManager->menu(Core::Constants::M_VIEW);
+ viewMenu->addAction(_setBackColorAction);
+ viewMenu->addAction(_SetupFog->toggleViewAction());
+ viewMenu->addAction(_resetSceneAction);
+ viewMenu->addAction(_reloadTexturesAction);
+ viewMenu->addAction(_saveScreenshotAction);
+
+ // add actions in tools menu
+ QMenu *toolsMenu = menuManager->menu(Core::Constants::M_TOOLS);
+ QAction *settingsAction = menuManager->action(Core::Constants::SETTINGS);
+ toolsMenu->insertAction(settingsAction ,_AnimationDialog->toggleViewAction());
_AnimationDialog->toggleViewAction()->setIcon(QIcon(":/images/anim.png"));
- _toolsMenu->addAction(_AnimationSetDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_AnimationSetDialog->toggleViewAction());
_AnimationSetDialog->toggleViewAction()->setIcon(QIcon(":/images/animset.png"));
- _toolsMenu->addAction(_SlotManagerDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_SlotManagerDialog->toggleViewAction());
_SlotManagerDialog->toggleViewAction()->setIcon(QIcon(":/images/mixer.png"));
- _toolsMenu->addAction(_ParticleControlDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_ParticleControlDialog->toggleViewAction());
_ParticleControlDialog->toggleViewAction()->setIcon(QIcon(":/images/pqrticles.png"));
- _toolsMenu->addAction(_DayNightDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_DayNightDialog->toggleViewAction());
_DayNightDialog->toggleViewAction()->setIcon(QIcon(":/images/dqynight.png"));
- _toolsMenu->addAction(_WaterPoolDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_WaterPoolDialog->toggleViewAction());
_WaterPoolDialog->toggleViewAction()->setIcon(QIcon(":/images/water.png"));
_WaterPoolDialog->toggleViewAction()->setEnabled(false);
- _toolsMenu->addAction(_VegetableDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_VegetableDialog->toggleViewAction());
_VegetableDialog->toggleViewAction()->setIcon(QIcon(":/images/veget.png"));
- _toolsMenu->addAction(_GlobalWindDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_GlobalWindDialog->toggleViewAction());
_GlobalWindDialog->toggleViewAction()->setIcon(QIcon(":/images/wind.png"));
- _toolsMenu->addAction(_SkeletonScaleDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_SkeletonScaleDialog->toggleViewAction());
_SkeletonScaleDialog->toggleViewAction()->setIcon(QIcon(":/images/ico_skelscale.png"));
- _toolsMenu->addAction(_TuneTimerDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_TuneTimerDialog->toggleViewAction());
_TuneTimerDialog->toggleViewAction()->setIcon(QIcon(":/images/ico_framedelay.png"));
- _toolsMenu->addAction(_SunColorDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_SunColorDialog->toggleViewAction());
- _toolsMenu->addAction(_TuneMRMDialog->toggleViewAction());
+ toolsMenu->insertAction(settingsAction ,_TuneMRMDialog->toggleViewAction());
_TuneMRMDialog->toggleViewAction()->setIcon(QIcon(":/images/ico_mrm_mesh.png"));
connect(_ParticleControlDialog->toggleViewAction(), SIGNAL(triggered(bool)),
@@ -377,22 +355,8 @@ void CMainWindow::createMenus()
connect(_ParticleControlDialog->toggleViewAction(), SIGNAL(triggered(bool)),
_ParticleWorkspaceDialog->_PropertyDialog, SLOT(setVisible(bool)));
- _toolsMenu->addSeparator();
-
- _toolsMenu->addAction(_settingsAction);
-
- menuBar()->addSeparator();
-
- _helpMenu = menuBar()->addMenu(tr("&Help"));
- _helpMenu->setObjectName("ovqt.Menu.Help");
- _helpMenu->addAction(_aboutAction);
- _helpMenu->addAction(_aboutQtAction);
-
- Modules::plugMan().addObject(_fileMenu);
- Modules::plugMan().addObject(_viewMenu);
- Modules::plugMan().addObject(_sceneMenu);
- Modules::plugMan().addObject(_toolsMenu);
- Modules::plugMan().addObject(_helpMenu);
+ toolsMenu->insertAction(settingsAction ,_settingsAction);
+ toolsMenu->insertSeparator(settingsAction);
}
void CMainWindow::createToolBars()
@@ -400,9 +364,13 @@ void CMainWindow::createToolBars()
_fileToolBar = addToolBar(tr("&File"));
_fileToolBar->addAction(_openAction);
- //_editToolBar = addToolBar(tr("&Edit"));
- //_editToolBar->addSeparator();
+ //_viewToolBar = addToolBar(tr("&Edit"));
+
_toolsBar = addToolBar(tr("&Tools"));
+
+ _toolsBar->addAction(_setBackColorAction);
+ _toolsBar->addSeparator();
+
_toolsBar->addAction(_AnimationDialog->toggleViewAction());
_toolsBar->addAction(_AnimationSetDialog->toggleViewAction());
_toolsBar->addAction(_SlotManagerDialog->toggleViewAction());
@@ -417,14 +385,6 @@ void CMainWindow::createToolBars()
_cameraControl = new CCameraControl(this);
this->addToolBar(_cameraControl->getToolBar());
-
- connect(_resetCameraAction, SIGNAL(triggered()), _cameraControl, SLOT(resetCamera()));
- connect(_renderModeAction, SIGNAL(triggered()), _cameraControl, SLOT(setRenderMode()));
-}
-
-void CMainWindow::createStatusBar()
-{
- statusBar()->showMessage(tr("StatusReady"));
}
void CMainWindow::createDialogs()
@@ -523,10 +483,10 @@ bool CMainWindow::loadFile(const QString &fileName, const QString &skelName)
if (!loaded)
{
- statusBar()->showMessage(tr("Loading canceled"),2000);
+ //statusBar()->showMessage(tr("Loading canceled"),2000);
return false;
}
- statusBar()->showMessage(tr("File loaded"),2000);
+ //statusBar()->showMessage(tr("File loaded"),2000);
return true;
}
diff --git a/code/nel/tools/3d/object_viewer_qt/src/main_window.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/main_window.h
similarity index 91%
rename from code/nel/tools/3d/object_viewer_qt/src/main_window.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/main_window.h
index 8864b1c6b..b07e764fa 100644
--- a/code/nel/tools/3d/object_viewer_qt/src/main_window.h
+++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/main_window.h
@@ -66,8 +66,6 @@ public:
CMainWindow(QWidget *parent = 0);
~CMainWindow();
- virtual void setVisible(bool visible);
-
int getFrameRate();
CSkeletonTreeModel *getSkeletonModel() const
{
@@ -83,16 +81,17 @@ private Q_SLOTS:
void resetScene();
void reloadTextures();
void settings();
- void about();
void updateStatusBar();
void updateRender();
void setInterval(int value);
+protected:
+ virtual void showEvent(QShowEvent *showEvent);
+
private:
void createActions();
void createMenus();
void createToolBars();
- void createStatusBar();
void createDialogs();
bool loadFile(const QString &fileName, const QString &skelName);
@@ -129,28 +128,17 @@ private:
QTimer *_mainTimer;
QTimer *_statusBarTimer;
- QMenu *_fileMenu;
- QMenu *_viewMenu;
- QMenu *_sceneMenu;
- QMenu *_toolsMenu;
- QMenu *_helpMenu;
QToolBar *_fileToolBar;
- QToolBar *_editToolBar;
+ QToolBar *_viewToolBar;
QToolBar *_toolsBar;
QAction *_openAction;
- QAction *_exitAction;
QAction *_setBackColorAction;
- QAction *_renderModeAction;
QAction *_frameDelayAction;
QAction *_lightGroupAction;
QAction *_reloadTexturesAction;
- QAction *_resetCameraAction;
QAction *_resetSceneAction;
QAction *_saveScreenshotAction;
QAction *_settingsAction;
- QAction *_aboutAction;
- QAction *_aboutQtAction;
-
QLabel *_statusInfo;
float _fps;
diff --git a/code/nel/tools/3d/object_viewer_qt/src/mesh_form.ui b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/mesh_form.ui
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/mesh_form.ui
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/mesh_form.ui
diff --git a/code/nel/tools/3d/object_viewer_qt/src/mesh_widget.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/mesh_widget.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/mesh_widget.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/mesh_widget.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/mesh_widget.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/mesh_widget.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/mesh_widget.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/mesh_widget.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/modules.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/modules.cpp
similarity index 90%
rename from code/nel/tools/3d/object_viewer_qt/src/modules.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/modules.cpp
index f48a311d8..76504eb27 100644
--- a/code/nel/tools/3d/object_viewer_qt/src/modules.cpp
+++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/modules.cpp
@@ -26,14 +26,12 @@ NLQT::CMainWindow *Modules::_mainWindow = NULL;
NLQT::CParticleEditor *Modules::_particleEditor = NULL;
NLQT::CSoundSystem *Modules::_soundSystem = NULL;
NLQT::CVegetableEditor *Modules::_vegetableEditor = NULL;
-ExtensionSystem::CPluginManager *Modules::_pluginManager = NULL;
void Modules::init()
{
if (_configuration == NULL) _configuration = new NLQT::CConfiguration;
config().init();
- if (_pluginManager == NULL) _pluginManager = new ExtensionSystem::CPluginManager;
if (_objectViewer == NULL) _objectViewer = new NLQT::CObjectViewer;
if (_soundSystem == NULL) _soundSystem = new NLQT::CSoundSystem;
if (_particleEditor == NULL) _particleEditor = new NLQT::CParticleEditor;
@@ -43,8 +41,6 @@ void Modules::init()
void Modules::release()
{
- delete _pluginManager;
- _pluginManager = NULL;
delete _mainWindow;
_mainWindow = NULL;
delete _particleEditor;
diff --git a/code/nel/tools/3d/object_viewer_qt/src/modules.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/modules.h
similarity index 90%
rename from code/nel/tools/3d/object_viewer_qt/src/modules.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/modules.h
index 1e26e1f91..4b2394b77 100644
--- a/code/nel/tools/3d/object_viewer_qt/src/modules.h
+++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/modules.h
@@ -26,7 +26,6 @@
#include "main_window.h"
#include "sound_system.h"
#include "vegetable_editor.h"
-#include "extension_system/plugin_manager.h"
/**
@class Modules
@@ -62,10 +61,6 @@ public:
{
return *_vegetableEditor;
}
- static ExtensionSystem::CPluginManager &plugMan()
- {
- return *_pluginManager;
- }
private:
static NLQT::CConfiguration *_configuration;
@@ -74,7 +69,6 @@ private:
static NLQT::CParticleEditor *_particleEditor;
static NLQT::CSoundSystem *_soundSystem;
static NLQT::CVegetableEditor *_vegetableEditor;
- static ExtensionSystem::CPluginManager *_pluginManager;
};
#endif // MODULES_H
diff --git a/code/nel/tools/3d/object_viewer_qt/src/morph_mesh_dialog.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/morph_mesh_dialog.cpp
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/morph_mesh_dialog.cpp
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/morph_mesh_dialog.cpp
diff --git a/code/nel/tools/3d/object_viewer_qt/src/morph_mesh_dialog.h b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/morph_mesh_dialog.h
similarity index 100%
rename from code/nel/tools/3d/object_viewer_qt/src/morph_mesh_dialog.h
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/morph_mesh_dialog.h
diff --git a/code/nel/tools/3d/object_viewer_qt/src/morph_mesh_form.ui b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/morph_mesh_form.ui
similarity index 95%
rename from code/nel/tools/3d/object_viewer_qt/src/morph_mesh_form.ui
rename to code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/morph_mesh_form.ui
index aa6992d93..9f2bd474a 100644
--- a/code/nel/tools/3d/object_viewer_qt/src/morph_mesh_form.ui
+++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/object_viewer/morph_mesh_form.ui
@@ -53,7 +53,7 @@
Add