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-17 02:55:49 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-06-19 11:47:56 +0300
commit0993af54842ad9ad43a45fded7e397c6eaafb9a0 (patch)
treeb8dea30d57d4ba82ed959d331e2025b12d3e7844 /source/blender/editors/object
parent3e4b9d2b5a6479ef71cdedf980bcd714f4f94d56 (diff)
Planar Probe: Add UI, 3d view Display and change defaults.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r--source/blender/editors/object/object_add.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 49bcdd3d5ae..0dc91f6d615 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -543,8 +543,10 @@ static int lightprobe_add_exec(bContext *C, wmOperator *op)
}
else if (type == 2) {
probe->type = LIGHTPROBE_TYPE_PLANAR;
- probe->distinf = 0.3f;
- probe->falloff = 0.6f;
+ probe->distinf = 0.1f;
+ probe->falloff = 0.5f;
+ probe->clipsta = 0.001f;
+ ob->empty_drawsize = 0.5f;
}
else {
probe->type = LIGHTPROBE_TYPE_CUBE;