[Bf-blender-cvs] [624829515a1] blender2.8: Light Probe type name should be CUBEMAP, not SPHERE.

Pablo Vazquez noreply at git.blender.org
Fri May 11 13:41:54 CEST 2018


Commit: 624829515a141ac6871b55d57b5cda37bfe4e8ce
Author: Pablo Vazquez
Date:   Fri May 11 13:41:44 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB624829515a141ac6871b55d57b5cda37bfe4e8ce

Light Probe type name should be CUBEMAP, not SPHERE.

Change requested by @fclem

===================================================================

M	source/blender/editors/object/object_add.c

===================================================================

diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 7a0bd44411e..db32f4842b5 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -148,7 +148,7 @@ static const EnumPropertyItem field_type_items[] = {
 };
 
 static EnumPropertyItem lightprobe_type_items[] = {
-	{LIGHTPROBE_TYPE_CUBE, "SPHERE", ICON_MESH_UVSPHERE, "Reflection Cubemap",
+	{LIGHTPROBE_TYPE_CUBE, "CUBEMAP", ICON_MESH_UVSPHERE, "Reflection Cubemap",
      "Reflection probe with spherical or cubic attenuation"},
 	{LIGHTPROBE_TYPE_PLANAR, "PLANAR", ICON_MESH_PLANE, "Reflection Plane",
      "Planar reflection probe"},



More information about the Bf-blender-cvs mailing list