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 00:21:23 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-06-10 00:21:23 +0300
commit85990343f631e78ef62980f20a372907ce344e2f (patch)
tree08447fc34d4271c3db5c1cc8d0a5da614110f64c /source/blender/makesdna
parent20572497a4d2388d8d37663f340ce925ca3caf85 (diff)
Probe: Remove Bounding Box parameter.
After using it for like 30 sec, the min max bound box is absolutely not practical. Reverting into using a unit cube with object transform. This also simplify the code. In the future of center probes will be implemented using another object matrix (via an object pointer).
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_probe_types.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_probe_types.h b/source/blender/makesdna/DNA_probe_types.h
index 8fb2c61e1c7..ce97a898ede 100644
--- a/source/blender/makesdna/DNA_probe_types.h
+++ b/source/blender/makesdna/DNA_probe_types.h
@@ -49,14 +49,8 @@ typedef struct Probe {
char parallax_type; /* Parallax type */
float distinf; /* Influence Radius */
- float mininf[3]; /* Influence Bound Box */
- float maxinf[3];
-
- float falloff; /* Influence falloff */
-
float distpar; /* Parallax Radius */
- float minpar[3]; /* Parallax Bound Box */
- float maxpar[3];
+ float falloff; /* Influence falloff */
float clipsta, clipend;
@@ -77,6 +71,8 @@ enum {
/* Probe->flag */
enum {
PRB_CUSTOM_PARALLAX = (1 << 0),
+ PRB_SHOW_INFLUENCE = (1 << 1),
+ PRB_SHOW_PARALLAX = (1 << 2),
};
/* Probe->display */