-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix position/orientation results #128
Conversation
GerhardHippmann
commented
Nov 22, 2023
- Enable position and orientation result signals for all user-defined Object3Ds, independently of visualisation/animation configuration
- Replace orientation result matrix R_abs -> Cardan angles rot123_abs
- Enable position and orientation result signals for all user-defined Object3Ds, independently of visualisation/animation configuration - Replace orientation result matrix R_abs -> Cardan angles rot123_abs
function isVisible(obj::Object3D{F})::Bool where F <: Modia3D.VarFloatType | ||
if isSolid(obj) || isVisual(obj) | ||
return !isnothing(obj.feature.visualMaterial) && !isnothing(obj.feature.shape) | ||
else | ||
return false | ||
end | ||
end |
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.
Please, check if a default return type is needed outside of if/else with (code_warntype).
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.
'code_warntype' does not report an issue with the explicitly defined return type 'Bool'.
@@ -436,8 +436,8 @@ end | |||
|
|||
|
|||
function exportAnimation(scene) |
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.
Please, define return type and scene::Scene{F} in function.
@AndreaNeumayr Bug in dependencies has been fixed. So from my point of view we can release now. Please do not forget to update release notes, version numbers and dates. |