Permalink
Browse files

Move files around, repoint imports

  • Loading branch information...
captainhammy committed Nov 8, 2017
1 parent ff22687 commit db9783477c66f5d3e79f7d68099f05c1ec634108
File renamed without changes.
@@ -8,7 +8,7 @@
import ht.events
import ht.events.callbacks
import ht.sohohooks.aovs
import ht.nodes.colors
import ht.nodes.styles
# Create any dynamic event handlers, such as using Python's atexit module
ht.events.callbacks.registerCallbacks()
@@ -9,8 +9,8 @@
# Houdini Toolbox Imports
from ht.events import registerEventGroup
from ht.nodes.colors.event import StyleNodeEvent
from ht.nodes.colors.manager import StyleManager
from ht.nodes.styles.event import StyleNodeEvent
from ht.nodes.styles.manager import StyleManager
# =============================================================================
@@ -1,4 +1,4 @@
"""This module contains an event to color nodes based on events."""
"""This module contains an event to style nodes based on events."""
# =============================================================================
# IMPORTS
@@ -8,7 +8,7 @@
from ht.events.group import HoudiniEventGroup
from ht.events import NodeEvents
from ht.nodes.colors.manager import StyleManager
from ht.nodes.styles.manager import StyleManager
# =============================================================================
# CLASSES
@@ -37,7 +37,7 @@ def styleNodeByName(self, scriptargs):
node = scriptargs["node"]
manager = StyleManager.from_session()
manager.colorNodeByName(node)
manager.styleNodeByName(node)
def styleNodeOnCreation(self, scriptargs):
"""Style a node on creation."""
@@ -13,8 +13,7 @@
import os
# Houdini Toolbox Imports
from ht.nodes.colors.colors import StyleConstant, StyleEntry, ConstantEntry
import ht.utils
from ht.nodes.styles.styles import StyleConstant, StyleEntry, ConstantEntry
# Houdini Imports
import hou
@@ -416,7 +415,7 @@ def _buildColor(entry):
def _findFiles():
"""Find any .json files that should be read."""
try:
directories = hou.findDirectories("config/colors")
directories = hou.findDirectories("config/styles")
except hou.OperationFailed:
directories = []
File renamed without changes.

0 comments on commit db97834

Please sign in to comment.