Totox691

Davinci fusion GetTool() bug ...

May 1st, 2026
52
0
Never
7
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.71 KB | None | 0 0
  1. {
  2. Tools = ordered() {
  3. CustomTool1 = Custom {
  4. Inputs = {
  5. LUTIn1 = Input {
  6. SourceOp = "CustomTool1LUTIn1",
  7. Source = "Value",
  8. },
  9. LUTIn2 = Input {
  10. SourceOp = "CustomTool1LUTIn2",
  11. Source = "Value",
  12. },
  13. LUTIn3 = Input {
  14. SourceOp = "CustomTool1LUTIn3",
  15. Source = "Value",
  16. },
  17. LUTIn4 = Input {
  18. SourceOp = "CustomTool1LUTIn4",
  19. Source = "Value",
  20. },
  21. NumberIn1 = Input { Value = 0.241, }
  22. },
  23. ViewInfo = OperatorInfo { Pos = { -770, -115.5 } },
  24. UserControls = ordered() {
  25. NumberIn1 = {
  26. LINKS_Name = "Number In 1",
  27. LINKID_DataType = "Number",
  28. INPID_InputControl = "ScrewControl",
  29. INP_Integer = false,
  30. INP_MinScale = 0,
  31. INP_MaxScale = 1,
  32. INP_MinAllowed = -1000000,
  33. INP_MaxAllowed = 1000000,
  34. INP_SplineType = "Default",
  35. ICS_ControlPage = "Controls",
  36. INPS_ExecuteOnChange = "print(self:GetTool().Name.. \" event on Change\")"
  37. },
  38. NumberIn2 = {
  39. LINKS_Name = "Number In 2",
  40. LINKID_DataType = "Number",
  41. INPID_InputControl = "ButtonControl",
  42. INP_Integer = false,
  43. INP_MinScale = 0,
  44. INP_MaxScale = 1,
  45. INP_MinAllowed = -1000000,
  46. INP_MaxAllowed = 1000000,
  47. INP_SplineType = "Default",
  48. BTNCS_Execute = "print(self:GetTool().Name.. \" event Execute\")",
  49. ICS_ControlPage = "Controls"
  50. }
  51. }
  52. },
  53. CustomTool1LUTIn1 = LUTBezier {
  54. KeyColorSplines = {
  55. [0] = {
  56. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  57. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  58. }
  59. },
  60. SplineColor = { Red = 255, Green = 255, Blue = 0 },
  61. NameSet = true,
  62. },
  63. CustomTool1LUTIn2 = LUTBezier {
  64. KeyColorSplines = {
  65. [0] = {
  66. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  67. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  68. }
  69. },
  70. SplineColor = { Red = 255, Green = 0, Blue = 255 },
  71. NameSet = true,
  72. },
  73. CustomTool1LUTIn3 = LUTBezier {
  74. KeyColorSplines = {
  75. [0] = {
  76. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  77. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  78. }
  79. },
  80. SplineColor = { Red = 0, Green = 180, Blue = 255 },
  81. NameSet = true,
  82. },
  83. CustomTool1LUTIn4 = LUTBezier {
  84. KeyColorSplines = {
  85. [0] = {
  86. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  87. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  88. }
  89. },
  90. SplineColor = { Red = 180, Green = 255, Blue = 0 },
  91. CtrlWZoom = false,
  92. NameSet = true,
  93. },
  94. MacroTool1 = GroupOperator {
  95. CtrlWZoom = false,
  96. Inputs = ordered() {
  97. CustomTool1_NumberIn1 = InstanceInput {
  98. SourceOp = "CustomTool1_1",
  99. Source = "NumberIn1",
  100. Page = "Controls",
  101. Default = 0.241,
  102. },
  103. CustomTool1_NumberIn2 = InstanceInput {
  104. SourceOp = "CustomTool1_1",
  105. Source = "NumberIn2",
  106. Page = "Controls",
  107. Default = 0,
  108. }
  109. },
  110. Outputs = {
  111. MainOutput1 = InstanceOutput {
  112. SourceOp = "CustomTool1_1",
  113. Source = "Output",
  114. }
  115. },
  116. ViewInfo = GroupInfo {
  117. Pos = { -770, -49.5 },
  118. Flags = {
  119. AllowPan = false,
  120. GridSnap = true,
  121. ConnectedSnap = true,
  122. AutoSnap = true,
  123. RemoveRouters = true
  124. },
  125. Size = { 126, 66.3636, 63, 24.2424 },
  126. Direction = "Horizontal",
  127. PipeStyle = "Direct",
  128. Scale = 1,
  129. Offset = { 0, 0 }
  130. },
  131. Tools = ordered() {
  132. CustomTool1_1 = Custom {
  133. CtrlWZoom = false,
  134. CtrlWShown = false,
  135. Inputs = {
  136. LUTIn1 = Input {
  137. SourceOp = "CustomTool1_1LUTIn1",
  138. Source = "Value",
  139. },
  140. LUTIn2 = Input {
  141. SourceOp = "CustomTool1_1LUTIn2",
  142. Source = "Value",
  143. },
  144. LUTIn3 = Input {
  145. SourceOp = "CustomTool1_1LUTIn3",
  146. Source = "Value",
  147. },
  148. LUTIn4 = Input {
  149. SourceOp = "CustomTool1_1LUTIn4",
  150. Source = "Value",
  151. },
  152. NumberIn1 = Input { Value = 0.396, }
  153. },
  154. ViewInfo = OperatorInfo { Pos = { 0, 8.75758 } },
  155. UserControls = ordered() {
  156. NumberIn1 = {
  157. INP_MaxAllowed = 1000000,
  158. INP_Integer = false,
  159. INPID_InputControl = "ScrewControl",
  160. INP_MaxScale = 1,
  161. INP_MinScale = 0,
  162. INP_MinAllowed = -1000000,
  163. LINKID_DataType = "Number",
  164. INPS_ExecuteOnChange = "print(self:GetTool().Name.. \" event on Change\")",
  165. ICS_ControlPage = "Controls",
  166. INP_SplineType = "Default",
  167. LINKS_Name = "Number In 1"
  168. },
  169. NumberIn2 = {
  170. INP_MaxAllowed = 1000000,
  171. INP_Integer = false,
  172. INPID_InputControl = "ButtonControl",
  173. BTNCS_Execute = "print(self:GetTool().Name.. \" event Execute\")",
  174. INP_MaxScale = 1,
  175. INP_MinScale = 0,
  176. INP_MinAllowed = -1000000,
  177. LINKID_DataType = "Number",
  178. ICS_ControlPage = "Controls",
  179. INP_SplineType = "Default",
  180. LINKS_Name = "Number In 2"
  181. }
  182. }
  183. },
  184. CustomTool1_1LUTIn1 = LUTBezier {
  185. KeyColorSplines = {
  186. [0] = {
  187. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  188. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  189. }
  190. },
  191. SplineColor = { Red = 255, Green = 255, Blue = 0 },
  192. CtrlWZoom = false,
  193. },
  194. CustomTool1_1LUTIn2 = LUTBezier {
  195. KeyColorSplines = {
  196. [0] = {
  197. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  198. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  199. }
  200. },
  201. SplineColor = { Red = 255, Green = 0, Blue = 255 },
  202. CtrlWZoom = false,
  203. },
  204. CustomTool1_1LUTIn3 = LUTBezier {
  205. KeyColorSplines = {
  206. [0] = {
  207. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  208. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  209. }
  210. },
  211. SplineColor = { Red = 0, Green = 180, Blue = 255 },
  212. CtrlWZoom = false,
  213. },
  214. CustomTool1_1LUTIn4 = LUTBezier {
  215. KeyColorSplines = {
  216. [0] = {
  217. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  218. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  219. }
  220. },
  221. SplineColor = { Red = 180, Green = 255, Blue = 0 },
  222. CtrlWZoom = false,
  223. }
  224. },
  225. }
  226. }
  227. }
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment