-
Notifications
You must be signed in to change notification settings - Fork 44
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
Added drop event #282
Added drop event #282
Conversation
Signed-off-by: ahcorde <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #282 +/- ##
==========================================
+ Coverage 65.20% 65.37% +0.17%
==========================================
Files 32 32
Lines 4532 4604 +72
==========================================
+ Hits 2955 3010 +55
- Misses 1577 1594 +17
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I just have a suggestion about a function name
include/ignition/gui/GuiEvents.hh
Outdated
|
||
/// \brief Get the text of the dropped thing on the scene | ||
/// \return The name of the dropped thing on the scene | ||
public: const std::string &DropName() const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think "text" would be more generic than "name", how about using that?
Signed-off-by: ahcorde <[email protected]>
…ics/ign-gui into ahcorde/event/drop
Signed-off-by: ahcorde [email protected]
🎉 Enhacenment
Summary
This event will allow to check something is dropped in the scene3D. This will allow to create independent plugin in ign-gazebo to spawn fuel models or
.stl
models in the scene.NOTE: This PR is related with the Scene3D consolidation
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge