We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55a780a commit 0139c92Copy full SHA for 0139c92
1 file changed
src/functions.jl
@@ -191,18 +191,18 @@ end
191
192
function update_background_plot(h2_bg, background_contours, sliceIndex)
193
if !isempty(background_contours)
194
+ V_plot3D = Vector{Point{3,Float64}}()
195
+ V_nan = Point{3,Float64}(NaN, NaN, NaN)
196
for filename_bg in background_contours
- V_plot3D = Vector{Point{3,Float64}}()
- V_nan = Point{3,Float64}(NaN, NaN, NaN)
197
contourSet_imported, _ = load_contours(filename_bg)
198
if !isempty(contourSet_imported[sliceIndex])
199
for V in contourSet_imported[sliceIndex]
200
append!(V_plot3D, V)
201
push!(V_plot3D, V_nan)
202
end
203
204
- h2_bg[1] = V_plot3D
205
+ h2_bg[1] = V_plot3D
206
207
208
0 commit comments