Update leenkx/blender/lnx/logicnode/lnx_sockets.py
This commit is contained in:
		| @ -32,8 +32,8 @@ socket_colors = { | ||||
|     'LnxVectorSocket': (0.39, 0.39, 0.78, 1.0), | ||||
|     'LnxAnySocket': (0.9, 0.9, 0.9, 1), | ||||
|     'LnxNodeSocketAnimTree': (0.3, 0.1, 0.0, 1.0), | ||||
|     'ArmFactorSocket': (0.631, 0.631, 0.631, 1.0), | ||||
|     'ArmBlendSpaceSocket': (0.631, 0.631, 0.631, 1.0) | ||||
|     'LnxFactorSocket': (0.631, 0.631, 0.631, 1.0), | ||||
|     'LnxBlendSpaceSocket': (0.631, 0.631, 0.631, 1.0) | ||||
| } | ||||
|  | ||||
|  | ||||
| @ -591,8 +591,8 @@ class LnxAnimTreeSocket(LnxCustomSocket): | ||||
|     def draw_color(self, context, node): | ||||
|         return socket_colors[self.bl_idname] | ||||
|  | ||||
| class ArmFactorSocket(LnxCustomSocket): | ||||
|     bl_idname = 'ArmFactorSocket' | ||||
| class LnxFactorSocket(LnxCustomSocket): | ||||
|     bl_idname = 'LnxFactorSocket' | ||||
|     bl_label = 'Factor Socket' | ||||
|     lnx_socket_type = 'FACTOR' | ||||
|  | ||||
| @ -614,8 +614,8 @@ class ArmFactorSocket(LnxCustomSocket): | ||||
|     def get_default_value(self): | ||||
|         return self.default_value_raw | ||||
|  | ||||
| class ArmBlendSpaceSocket(LnxCustomSocket): | ||||
|     bl_idname = 'ArmBlendSpaceSocket' | ||||
| class LnxBlendSpaceSocket(LnxCustomSocket): | ||||
|     bl_idname = 'LnxBlendSpaceSocket' | ||||
|     bl_label = 'Blend Space Socket' | ||||
|     lnx_socket_type = 'FACTOR' | ||||
|  | ||||
| @ -718,8 +718,8 @@ LnxStringSocketInterface = _make_socket_interface('LnxStringSocketInterface', 'L | ||||
| LnxVectorSocketInterface = _make_socket_interface('LnxVectorSocketInterface', 'LnxVectorSocket') | ||||
| LnxAnySocketInterface = _make_socket_interface('LnxAnySocketInterface', 'LnxAnySocket') | ||||
| LnxAnimTreeSocketInterface = _make_socket_interface('LnxAnimTreeSocketInterface', 'LnxNodeSocketAnimTree') | ||||
| ArmFactorSocketInterface = _make_socket_interface('ArmFactorSocketInterface', 'ArmFactorSocket') | ||||
| ArmBlendSpaceSocketInterface = _make_socket_interface('ArmBlendSpaceSocketInterface', 'ArmBlendSpaceSocket') | ||||
| LnxFactorSocketInterface = _make_socket_interface('LnxFactorSocketInterface', 'LnxFactorSocket') | ||||
| LnxBlendSpaceSocketInterface = _make_socket_interface('LnxBlendSpaceSocketInterface', 'LnxBlendSpaceSocket') | ||||
|  | ||||
| __REG_CLASSES = ( | ||||
|     LnxActionSocketInterface, | ||||
| @ -736,8 +736,8 @@ __REG_CLASSES = ( | ||||
|     LnxVectorSocketInterface, | ||||
|     LnxAnySocketInterface, | ||||
|     LnxAnimTreeSocketInterface, | ||||
|     ArmFactorSocketInterface, | ||||
|     ArmBlendSpaceSocketInterface, | ||||
|     LnxFactorSocketInterface, | ||||
|     LnxBlendSpaceSocketInterface, | ||||
|  | ||||
|     LnxActionSocket, | ||||
|     LnxAnimActionSocket, | ||||
| @ -753,7 +753,7 @@ __REG_CLASSES = ( | ||||
|     LnxVectorSocket, | ||||
|     LnxAnySocket, | ||||
|     LnxAnimTreeSocket, | ||||
|     ArmFactorSocket, | ||||
|     ArmBlendSpaceSocket, | ||||
|     LnxFactorSocket, | ||||
|     LnxBlendSpaceSocket, | ||||
| ) | ||||
| register, unregister = bpy.utils.register_classes_factory(__REG_CLASSES) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user