Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <mano-wii>2022-04-04 22:16:36 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2022-04-04 22:20:34 +0300
commit0ebcc711fc2767f2d260d8e124af1074da9c8a59 (patch)
treef8c2abf1692e87b14556df2f1149f893c1282a8b /source/blender/editors/include/ED_view3d.h
parentb5f3f8ef1d52e58cfe2fc8747047c45267055fab (diff)
Fix T95678: Thumbnails are not working with big / large Objects
The internal camera used to render the thumbnails also has to consider `clip_start` and `clip_end`. Reviewed By: Severin Maniphest Tasks: T95678 Differential Revision: https://developer.blender.org/D14138
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r--source/blender/editors/include/ED_view3d.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index c3571bb3788..3f9f26560b2 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -163,6 +163,11 @@ bool ED_view3d_camera_to_view_selected(struct Main *bmain,
const struct Scene *scene,
struct Object *camera_ob);
+bool ED_view3d_camera_to_view_selected_with_set_clipping(struct Main *bmain,
+ struct Depsgraph *depsgraph,
+ const struct Scene *scene,
+ struct Object *camera_ob);
+
/**
* Use to store the last view, before entering camera view.
*/