Removed some unused code

This commit is contained in:
Sybren A. Stüvel 2016-07-26 16:02:15 +02:00
parent 4ce8db88c6
commit b9caecfce9
2 changed files with 1 additions and 4 deletions

View File

@ -36,7 +36,7 @@ from pillarsdk.utils import sanitize_filename
from . import cache from . import cache
SUBCLIENT_ID = 'PILLAR' SUBCLIENT_ID = 'PILLAR'
TEXTURE_NODE_TYPES = {'texture', 'hdri', 'HDRI_FILE'} TEXTURE_NODE_TYPES = {'texture', 'hdri'}
RFC1123_DATE_FORMAT = '%a, %d %b %Y %H:%M:%S GMT' RFC1123_DATE_FORMAT = '%a, %d %b %Y %H:%M:%S GMT'

View File

@ -494,11 +494,8 @@ class BlenderCloudBrowser(pillar.PillarOperatorMixin,
project_uuid = self.current_path.project_uuid project_uuid = self.current_path.project_uuid
node_uuid = self.current_path.node_uuid node_uuid = self.current_path.node_uuid
is_hdri_node = False
current_node = None
if node_uuid: if node_uuid:
current_node = self.path_stack[-1]
# Query for sub-nodes of this node. # Query for sub-nodes of this node.
self.log.debug('Getting subnodes for parent node %r', node_uuid) self.log.debug('Getting subnodes for parent node %r', node_uuid)
children = await pillar.get_nodes(parent_node_uuid=node_uuid, children = await pillar.get_nodes(parent_node_uuid=node_uuid,