Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Aug 21, 2019
1 parent 6d5da6e commit 84f10dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/basic_recipes/axis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ function plot!(scene::SceneLike, ::Type{<: Axis2D}, attributes::Attributes, args
lift.((dim2,), (cplot.showgrid, cplot.showticks))...,
g_args..., t_args..., f_args..., ti_args...
)
push!(scene.plots, cplot)
push!(scene, cplot)
return cplot
end

Expand Down
2 changes: 1 addition & 1 deletion src/camera/camera2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function selection_rect!(scene, cam, key)
lw = 2f0
scene_unscaled = Scene(
scene, transformation = Transformation(),
cam = copy(camera(scene)), clear = false
cam = copy(camera(scene)), clear = false, raw = true
)
scene_unscaled.clear = false
scene_unscaled.updated = Node(false)
Expand Down
2 changes: 1 addition & 1 deletion src/scenes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ plots_from_camera(scene::Scene) = plots_from_camera(scene, scene.camera)
function plots_from_camera(scene::Scene, camera::Camera, list = AbstractPlot[])
append!(list, scene.plots)
for child in scene.children
child.camera == camera && plots_from_camera(child, camera, list)
child.camera == camera && !child.raw[] && plots_from_camera(child, camera, list)
end
list
end
Expand Down

0 comments on commit 84f10dd

Please sign in to comment.