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

Commit 84f10dd

Browse files
committed
fixes
1 parent 6d5da6e commit 84f10dd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/basic_recipes/axis.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ function plot!(scene::SceneLike, ::Type{<: Axis2D}, attributes::Attributes, args
524524
lift.((dim2,), (cplot.showgrid, cplot.showticks))...,
525525
g_args..., t_args..., f_args..., ti_args...
526526
)
527-
push!(scene.plots, cplot)
527+
push!(scene, cplot)
528528
return cplot
529529
end
530530

src/camera/camera2d.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function selection_rect!(scene, cam, key)
179179
lw = 2f0
180180
scene_unscaled = Scene(
181181
scene, transformation = Transformation(),
182-
cam = copy(camera(scene)), clear = false
182+
cam = copy(camera(scene)), clear = false, raw = true
183183
)
184184
scene_unscaled.clear = false
185185
scene_unscaled.updated = Node(false)

src/scenes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ plots_from_camera(scene::Scene) = plots_from_camera(scene, scene.camera)
466466
function plots_from_camera(scene::Scene, camera::Camera, list = AbstractPlot[])
467467
append!(list, scene.plots)
468468
for child in scene.children
469-
child.camera == camera && plots_from_camera(child, camera, list)
469+
child.camera == camera && !child.raw[] && plots_from_camera(child, camera, list)
470470
end
471471
list
472472
end

0 commit comments

Comments
 (0)