-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Image::get_color_at_3d
and Image::set_color_at_3d
: Support 2D ima…
…ges with layers (#17548) # Objective This makes the `Image::get_color_at_3d` and `Image::set_color_at_3d` methods work with 2D images with more than one layer. ## Solution - The Z coordinate is interpreted as the layer number. ## Testing - Added a test: `get_set_pixel_2d_with_layers`.
- Loading branch information
Showing
1 changed file
with
41 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters