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:
authorJeroen Bakker <j.bakker@atmind.nl>2018-05-04 18:25:49 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-05-04 18:26:10 +0300
commita73c02a17b58427f998fa9d260d1fbcbccbe6e25 (patch)
tree3e09030a7a3055a1e26f897020d48fea57baaf91 /source/blender/editors/space_view3d
parent26d87bd57795c39138ba982cc06a20b466eddb2c (diff)
Workbench: Color selector when in single color mode
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/space_view3d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c
index 6071b8d8e94..d68c0508e33 100644
--- a/source/blender/editors/space_view3d/space_view3d.c
+++ b/source/blender/editors/space_view3d/space_view3d.c
@@ -324,6 +324,7 @@ static SpaceLink *view3d_new(const ScrArea *UNUSED(sa), const Scene *scene)
v3d->drawtype = OB_SOLID;
v3d->drawtype_lighting = V3D_LIGHTING_STUDIO;
v3d->drawtype_ambient_intensity = 0.5;
+ copy_v3_fl(v3d->drawtype_single_color, 1.0f);
v3d->gridflag = V3D_SHOW_X | V3D_SHOW_Y | V3D_SHOW_FLOOR;