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>2018-11-14 13:44:05 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-11-14 13:50:37 +0300
commitc3d03b4434c8554bbfff6cdc549bb089dec1da28 (patch)
treed4556b2a7bfa23f1ed7fb79cf9363a1910260711 /source/blender/editors/space_view3d/view3d_gizmo_lamp.c
parent0b0b3d7f7e720f2073406247957b800e11e4ef98 (diff)
Lamps: Remove HEMI light type
This type is not supported by either Eevee or Cycles. If other types of lamps are needed by external engines, we should support adding custom types.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_gizmo_lamp.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_gizmo_lamp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_gizmo_lamp.c b/source/blender/editors/space_view3d/view3d_gizmo_lamp.c
index 044efae0402..3eaddce582b 100644
--- a/source/blender/editors/space_view3d/view3d_gizmo_lamp.c
+++ b/source/blender/editors/space_view3d/view3d_gizmo_lamp.c
@@ -247,7 +247,7 @@ static bool WIDGETGROUP_lamp_target_poll(const bContext *C, wmGizmoGroupType *UN
if (ob != NULL) {
if (ob->type == OB_LAMP) {
Lamp *la = ob->data;
- return (ELEM(la->type, LA_SUN, LA_SPOT, LA_HEMI, LA_AREA));
+ return (ELEM(la->type, LA_SUN, LA_SPOT, LA_AREA));
}
#if 0
else if (ob->type == OB_CAMERA) {