[Bf-blender-cvs] [1a85d2762a8] temp-gpu-image-engine: Added documentation.
Jeroen Bakker
noreply at git.blender.org
Wed Dec 15 10:47:37 CET 2021
Commit: 1a85d2762a89eaa9c8437030f4f3e81e2a7e3046
Author: Jeroen Bakker
Date: Wed Dec 15 08:37:01 2021 +0100
Branches: temp-gpu-image-engine
https://developer.blender.org/rB1a85d2762a89eaa9c8437030f4f3e81e2a7e3046
Added documentation.
===================================================================
M source/blender/draw/engines/image/image_instance_data.hh
M source/blender/draw/engines/image/image_space_image.hh
===================================================================
diff --git a/source/blender/draw/engines/image/image_instance_data.hh b/source/blender/draw/engines/image/image_instance_data.hh
index 79153b5f7f4..7fb0a6ca3eb 100644
--- a/source/blender/draw/engines/image/image_instance_data.hh
+++ b/source/blender/draw/engines/image/image_instance_data.hh
@@ -47,10 +47,10 @@ struct IMAGE_InstanceData {
ShaderParameters sh_params;
struct {
/**
- * \brief should we perform tile drawing (wrap repeat).
+ * \brief should we perform tiled drawing (wrap repeat).
*
- * Option is true when image is capable of tile drawing (image is not tiled) and the option is
- * set in the space.
+ * Option is true when image is capable of tile drawing (image is not tile) and the tiled
+ * option is set in the space.
*/
bool do_tile_drawing : 1;
} flags;
diff --git a/source/blender/draw/engines/image/image_space_image.hh b/source/blender/draw/engines/image/image_space_image.hh
index 120ce8b2673..76b021d7320 100644
--- a/source/blender/draw/engines/image/image_space_image.hh
+++ b/source/blender/draw/engines/image/image_space_image.hh
@@ -161,7 +161,7 @@ class SpaceImageAccessor : public AbstractSpaceAccessor {
}
}
- bool use_tile_drawing() const
+ bool use_tile_drawing() const override
{
return (sima->flag & SI_DRAW_TILE) != 0;
}
More information about the Bf-blender-cvs
mailing list