Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ViewAngle work with MinimalScene #1016

Merged
merged 1 commit into from
Sep 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions examples/worlds/minimal_scene.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Features:
* Select entities
* Transform controls
* Spawn entities through GUI
* View angles

Missing for parity with GzScene3D:

* Context menu
* Record video
* View angles
* View collisions, wireframe, transparent, CoM, etc
* Drag and drop from Fuel / meshes
* ...
Expand Down Expand Up @@ -132,8 +132,6 @@ Missing for parity with GzScene3D:
<play_pause>true</play_pause>
<step>true</step>
<start_paused>true</start_paused>
<service>/world/buoyancy/control</service>
<stats_topic>/world/buoyancy/stats</stats_topic>

</plugin>

Expand All @@ -158,7 +156,6 @@ Missing for parity with GzScene3D:
<real_time>true</real_time>
<real_time_factor>true</real_time_factor>
<iterations>true</iterations>
<topic>/world/buoyancy/stats</topic>
</plugin>

<plugin filename="Spawn" name="Spawn Entities">
Expand Down Expand Up @@ -250,6 +247,16 @@ Missing for parity with GzScene3D:
</ignition-gui>
</plugin>

<!-- View angle -->
<plugin filename="ViewAngle" name="View angle">
<ignition-gui>
<property type="string" key="state">docked</property>
</ignition-gui>

<!-- disable legacy features used to connect this plugin to GzScene3D -->
<legacy>false</legacy>
</plugin>

</gui>

<light type="directional" name="sun">
Expand Down
2 changes: 2 additions & 0 deletions src/gui/plugins/view_angle/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
gz_add_gui_plugin(ViewAngle
SOURCES ViewAngle.cc
QT_HEADERS ViewAngle.hh
PRIVATE_LINK_LIBS
${PROJECT_LIBRARY_TARGET_NAME}-rendering
)


Loading