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:
authorClément Foucault <foucault.clem@gmail.com>2017-06-10 01:36:33 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-06-10 01:36:33 +0300
commit0a5e9e2f56f5d738b1128b46ecadd9713bd42dec (patch)
tree7078e883a8ac737a153742331d0f3875463e6c63 /source/blender/makesdna
parentb35f562e180c752fa18aafe489677aa9e8bf1b6a (diff)
Probe: Small UI improvments
-Better falloff default. -Add clip distance visualisation. -Reformat UI and add a display panel.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_probe_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_probe_types.h b/source/blender/makesdna/DNA_probe_types.h
index ce97a898ede..88a1ba9078f 100644
--- a/source/blender/makesdna/DNA_probe_types.h
+++ b/source/blender/makesdna/DNA_probe_types.h
@@ -59,6 +59,7 @@ typedef struct Probe {
/* Runtime display data */
float distfalloff, pad;
+ float clipmat[6][4][4];
} Probe;
/* Probe->type */
@@ -73,6 +74,7 @@ enum {
PRB_CUSTOM_PARALLAX = (1 << 0),
PRB_SHOW_INFLUENCE = (1 << 1),
PRB_SHOW_PARALLAX = (1 << 2),
+ PRB_SHOW_CLIP_DIST = (1 << 3),
};
/* Probe->display */