Skip to content

Commit bb803f7

Browse files
Add argument and return types in function exportAnimation
1 parent fcd38b3 commit bb803f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AnimationExport/exportAnimation.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ function createAnimationQuaternionTrack(object, animation, obj, iobj, R_obj::Not
435435
end
436436

437437

438-
function exportAnimation(scene)
438+
function exportAnimation(scene::Modia3D.Composition.Scene{F}) where F <: Modia3D.VarFloatType
439439
visualObject3Ds = scene.visualObject3Ds
440440
if scene.exportAnimation && length(visualObject3Ds) > 0
441441
animationFile = scene.options.animationFile
@@ -490,4 +490,5 @@ function exportAnimation(scene)
490490

491491
println("done.")
492492
end
493+
return nothing
493494
end

0 commit comments

Comments
 (0)