diff options
Diffstat (limited to 'render_povray/nodes.py')
-rw-r--r-- | render_povray/nodes.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/render_povray/nodes.py b/render_povray/nodes.py index a4acd138..a8281c8a 100644 --- a/render_povray/nodes.py +++ b/render_povray/nodes.py @@ -52,7 +52,7 @@ class ObjectNodeTree(bpy.types.NodeTree): @classmethod def get_from_context(cls, context): ob = context.active_object - if ob and ob.type not in {'LAMP'}: + if ob and ob.type not in {'LIGHT'}: ma = ob.active_material if ma is not None: nt_name = ma.node_tree @@ -517,7 +517,7 @@ class PovrayColorImageNode(Node, ObjectNodeTree): im=image split = column.split(percentage=0.8,align=True) split.prop_search(self,"image",context.blend_data,"images",text="") - split.operator("pov.imageopen",text="",icon="FILESEL") + split.operator("pov.imageopen",text="",icon="FILEBROWSER") if im is not None: column.prop(im,"source",text="") column.prop(self,"map_type",text="") @@ -535,7 +535,7 @@ class PovrayColorImageNode(Node, ObjectNodeTree): im=image split = column.split(percentage=0.8,align=True) split.prop_search(self,"image",context.blend_data,"images",text="") - split.operator("pov.imageopen",text="",icon="FILESEL") + split.operator("pov.imageopen",text="",icon="FILEBROWSER") if im is not None: column.prop(im,"source",text="") column.prop(self,"map_type",text="") @@ -597,7 +597,7 @@ class PovrayBumpMapNode(Node, ObjectNodeTree): im=image split = column.split(percentage=0.8,align=True) split.prop_search(self,"image",context.blend_data,"images",text="") - split.operator("pov.imageopen",text="",icon="FILESEL") + split.operator("pov.imageopen",text="",icon="FILEBROWSER") if im is not None: column.prop(im,"source",text="") column.prop(self,"map_type",text="") @@ -613,7 +613,7 @@ class PovrayBumpMapNode(Node, ObjectNodeTree): im=image split = column.split(percentage=0.8,align=True) split.prop_search(self,"image",context.blend_data,"images",text="") - split.operator("pov.imageopen",text="",icon="FILESEL") + split.operator("pov.imageopen",text="",icon="FILEBROWSER") if im is not None: column.prop(im,"source",text="") column.prop(self,"map_type",text="") @@ -668,7 +668,7 @@ class PovrayImagePatternNode(Node, ObjectNodeTree): im=image split = column.split(percentage=0.8,align=True) split.prop_search(self,"image",context.blend_data,"images",text="") - split.operator("pov.imageopen",text="",icon="FILESEL") + split.operator("pov.imageopen",text="",icon="FILEBROWSER") if im is not None: column.prop(im,"source",text="") column.prop(self,"map_type",text="") @@ -687,7 +687,7 @@ class PovrayImagePatternNode(Node, ObjectNodeTree): im=image split = column.split(percentage=0.8,align=True) split.prop_search(self,"image",context.blend_data,"images",text="") - split.operator("pov.imageopen",text="",icon="FILESEL") + split.operator("pov.imageopen",text="",icon="FILEBROWSER") if im is not None: column.prop(im,"source",text="") column.prop(self,"map_type",text="") |