diff options
author | Damien Picard <dam.pic@free.fr> | 2020-12-04 22:31:40 +0300 |
---|---|---|
committer | Damien Picard <dam.pic@free.fr> | 2020-12-05 02:41:08 +0300 |
commit | 169bba162a919648e016776e3ad841175805a003 (patch) | |
tree | 10a5a4db1e83ca84f19ef4dc325e9d4e5ee6e7b6 /sun_position | |
parent | 11640f3a191893bd7a777293dc1f5f8f6508d4db (diff) |
Sun position: remove unused prop in HDRI mode
Diffstat (limited to 'sun_position')
-rw-r--r-- | sun_position/__init__.py | 2 | ||||
-rw-r--r-- | sun_position/ui_sun.py | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sun_position/__init__.py b/sun_position/__init__.py index ddbc2bc0..0b15602b 100644 --- a/sun_position/__init__.py +++ b/sun_position/__init__.py @@ -34,7 +34,7 @@ bl_info = { "name": "Sun Position", "author": "Michael Martin", - "version": (3, 1, 0), + "version": (3, 1, 1), "blender": (2, 80, 0), "location": "World > Sun Position", "description": "Show sun position with objects and/or sky texture", diff --git a/sun_position/ui_sun.py b/sun_position/ui_sun.py index 2eb969d2..ec58589c 100644 --- a/sun_position/ui_sun.py +++ b/sun_position/ui_sun.py @@ -103,9 +103,7 @@ class SUNPOS_PT_Panel(bpy.types.Panel): if context.scene.world is not None: if context.scene.world.node_tree is not None: col.prop_search(sp, "hdr_texture", - context.scene.world.node_tree, "nodes") - col.prop_search(sp, "sky_texture", - context.scene.world.node_tree, "nodes") + context.scene.world.node_tree, "nodes", text="") else: col.label(text="Please activate Use Nodes in the World panel.", icon="ERROR") |