[Bf-blender-cvs] [281a4540e23] blender2.8: Expose World ID panel for Eevee
Dalai Felinto
noreply at git.blender.org
Thu Jun 15 18:46:49 CEST 2017
Commit: 281a4540e2385d3e2ba3da4a3290529a2ac7fd0f
Author: Dalai Felinto
Date: Thu Jun 15 18:46:14 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB281a4540e2385d3e2ba3da4a3290529a2ac7fd0f
Expose World ID panel for Eevee
That said, materials need to be updated when switching the world.
===================================================================
M release/scripts/startup/bl_ui/properties_world.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_world.py b/release/scripts/startup/bl_ui/properties_world.py
index c7bf318faef..fc5835d23d0 100644
--- a/release/scripts/startup/bl_ui/properties_world.py
+++ b/release/scripts/startup/bl_ui/properties_world.py
@@ -37,7 +37,7 @@ class WorldButtonsPanel:
class WORLD_PT_context_world(WorldButtonsPanel, Panel):
bl_label = ""
bl_options = {'HIDE_HEADER'}
- COMPAT_ENGINES = {'BLENDER_RENDER'}
+ COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE'}
@classmethod
def poll(cls, context):
@@ -245,7 +245,7 @@ class WORLD_PT_mist(WorldButtonsPanel, Panel):
class WORLD_PT_custom_props(WorldButtonsPanel, PropertyPanel, Panel):
- COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
+ COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME', 'BLENDER_EEVEE'}
_context_path = "world"
_property_type = bpy.types.World
More information about the Bf-blender-cvs
mailing list