Node Spaghetti ns

ns pushed para testing em ns/mantis

  • b36fe4d22b v 0.13.0 Beta
  • c37cd0df75 WIP string variables string variables work in the simplest case already all the trouble comes from the stuff that is in schemas or made at runtime so I have a lot of complex stuff to figure out and even more important: to figure out how the user interacts for example: should frame variables be inherited or not? do I need a way to get this stuff recursively? then how do i evaluate a string from a node in a different frame? I would need to use THAT node to look up the variables, right? NO SPOOKY stuff can be allowed anyhow this is a WIP, might forget about this for a while and come back some unsaved stuff I forgot to add. trash? Fix Schema fail when Group linked to In/Outgoing The problem was that I was attempting to get the next node but it hadn't been generated yet because it was in a node group There was never a problem with outgoing connection after all it was only handling the held link from the outgoing connection that was messed up, and only then if the next node was a group! oddly, it did work in some situations with the old code because the node groups were generated. this code maybe could be cleaned up by forcing the node group to generate as soon as it is encountered but I think this solution, though less elegant, is better since I can then deal with the connection to the node group which is already handled well elsewhere. So this doesn't add complexity or modify the schema solve as a system. Fix syntax error Get String Variables at Execution Time Cleanup misguided changes in DummyNode
  • 3b5e420b37 Add Custom Interface Socket Types this commit (re)introduces custom node socket interface types I did this a long time ago but didn't really understand it so I let Blender do it automatically But I am bringing it back because it lets me set some custom variables for different socket types, such as default values or whether the socket should be an array or not. Interface Classes set the multi and default value now note that this is VERY untested and probably doesn't work for Schema update interface draw for correct UI and clarity removes default value from xForm for outputs removes array if interface item is a connection and visa versa fix: unbound local error when updating group interface initial versioning for new interface classes Implement Custom Interface Classes this commit implements versioning and basic functionality for - default values on group sockets - arrays and connections editable in the Node Group Interface - array support for regular Node Groups tested and working with Human, Elephant, and Stego files. Disable "Connected To" feature this one is a little too ambitious and it will be too hard to implement Fix: default value disabled for Matrix (it is not yet implemented) Fix: correct default value type for vectors New Feature: Default Values for base tree Fix: interface panel doesn't have an identifier Fix: make default values work with more socket types this commit also improves the error message and it unfortunately(?) adds an assert from something I think is a safe assumption. Initialize Tree with correct version number WIP: Route Group I/O through interface nodes This commit does not work! But it is a good start. The purpose of this commit is to move towards bundling connections at the base of each group in/out so that I can cache things, manage variables, and most importantly for present purposes, send arrays in and out in a more consistent way. Probably I revert this commit and do something very similar without the intervening node until I get that slightly simpler strategy working. GroupInterfaceNodes at group in/out This commit fixes and finishes the last commit. All I forgot was to add the nodes to the parsed tree, and deal with a little bit of hardcoded foolishness that assumed there would be no intervening nodes using socket traversal. There will be more fixing for this behaviour in the near future, no doubt. But this works, and it opens up a whole lot of doors. clean up useless prints Fix: remove many instances of hardcoded node get search ".link[0]" to find the rest of them and fix before release for now, the matter of array sort id is much more pressing Fix: Correctly Sort Links to Group Arrays Look at the comment in readtree to understand this commit Special note: this really needs more robust testing but since I have tested stuff that I understand the only test cases I am unsure about are those which are too hard for me to imagine ahead of time. So probably I fix it if/when someone actually encounters it. cleanup xForm get_parent_node Fix: lazy parents broken Fix: Spline IK broken
  • 965c6c48d6 v0.12.28 revert unhelpful broken patch
  • d0d622a238 Revert "Fix: Nested Choose fails when linked to group output" This reverts commit 003e6b573a83e162d5655117101c641158fcadfa. it was causing unforeseen problems in people's nodes and I need to have a more robust solution:

há 1 semana atrás

ns criado novo branch testing em ns/mantis

há 1 semana atrás

ns pushed para custom_interface_classes em ns/mantis

  • 4ac2bc26ff Fix: Spline IK broken
  • 08317304ff Fix: lazy parents broken
  • 2b42688fd6 cleanup xForm get_parent_node
  • ceb2ba967e Fix: Correctly Sort Links to Group Arrays Look at the comment in readtree to understand this commit Special note: this really needs more robust testing but since I have tested stuff that I understand the only test cases I am unsure about are those which are too hard for me to imagine ahead of time. So probably I fix it if/when someone actually encounters it.
  • 24ce4568e5 Fix: remove many instances of hardcoded node get search ".link[0]" to find the rest of them and fix before release for now, the matter of array sort id is much more pressing
  • Ver comparação para estes 44 commits »

há 1 semana atrás

ns pushed para string_variables em ns/mantis

  • bb161c0f79 v 0.13.0 Beta
  • 2f545bea82 Cleanup misguided changes in DummyNode
  • 909a4fe43e Get String Variables at Execution Time
  • 9c3089b090 Fix syntax error
  • 49b4285bb4 Fix Schema fail when Group linked to In/Outgoing The problem was that I was attempting to get the next node but it hadn't been generated yet because it was in a node group There was never a problem with outgoing connection after all it was only handling the held link from the outgoing connection that was messed up, and only then if the next node was a group! oddly, it did work in some situations with the old code because the node groups were generated. this code maybe could be cleaned up by forcing the node group to generate as soon as it is encountered but I think this solution, though less elegant, is better since I can then deal with the connection to the node group which is already handled well elsewhere. So this doesn't add complexity or modify the schema solve as a system.
  • Ver comparação para estes 56 commits »

há 2 semanas atrás

ns pushed para master em ns/mantis

  • 965c6c48d6 v0.12.28 revert unhelpful broken patch
  • d0d622a238 Revert "Fix: Nested Choose fails when linked to group output" This reverts commit 003e6b573a83e162d5655117101c641158fcadfa. it was causing unforeseen problems in people's nodes and I need to have a more robust solution:
  • Ver comparação para estes 2 commits »

há 2 semanas atrás

ns pushed para custom_interface_classes em ns/mantis

  • 7251a054fc Fix: Spline IK broken
  • ca5229b5c8 Fix: lazy parents broken
  • 234a1fba6b cleanup xForm get_parent_node
  • 38acf70638 Fix: Correctly Sort Links to Group Arrays Look at the comment in readtree to understand this commit Special note: this really needs more robust testing but since I have tested stuff that I understand the only test cases I am unsure about are those which are too hard for me to imagine ahead of time. So probably I fix it if/when someone actually encounters it.
  • ce5f91bdb9 Fix: remove many instances of hardcoded node get search ".link[0]" to find the rest of them and fix before release for now, the matter of array sort id is much more pressing
  • Ver comparação para estes 40 commits »

há 2 semanas atrás

ns pushed para master em ns/mantis

há 2 semanas atrás

ns pushed para master em ns/mantis

  • 003e6b573a Fix: Nested Choose fails when linked to group output this bug occurs when: - the choose node is connected directly to Group output - the Group is inside a Schema Perhaps i should have opted to add a no-op node so that the choose node can go ahead and prepare. Who knows? maybe I willl choose that solution in the future this bug fix seems to cause no problems in existing trees, and it fixes the behaviour in old trees that did not work.
  • cac82c21f8 Cleanup Drivers
  • 83415c6b5d Cleanup Drivers
  • e40d0fdc9c initial versioning for new interface classes
  • 4845445001 fix: unbound local error when updating group interface
  • Ver comparação para estes 8 commits »

há 2 semanas atrás

ns pushed para custom_interface_classes em ns/mantis

  • 289b667d5a GroupInterfaceNodes at group in/out This commit fixes and finishes the last commit. All I forgot was to add the nodes to the parsed tree, and deal with a little bit of hardcoded foolishness that assumed there would be no intervening nodes using socket traversal. There will be more fixing for this behaviour in the near future, no doubt. But this works, and it opens up a whole lot of doors.
  • 3968312363 WIP: Route Group I/O through interface nodes This commit does not work! But it is a good start. The purpose of this commit is to move towards bundling connections at the base of each group in/out so that I can cache things, manage variables, and most importantly for present purposes, send arrays in and out in a more consistent way. Probably I revert this commit and do something very similar without the intervening node until I get that slightly simpler strategy working.
  • ddaefc93f5 Initialize Tree with correct version number
  • be2dff439b Fix: make default values work with more socket types this commit also improves the error message and it unfortunately(?) adds an assert from something I think is a safe assumption.
  • 8c945311a8 Fix: interface panel doesn't have an identifier
  • Ver comparação para estes 35 commits »

há 2 semanas atrás

ns pushed para master em ns/mantis

há 2 semanas atrás

ns pushed para master em ns/mantis

  • e40d0fdc9c initial versioning for new interface classes
  • 4845445001 fix: unbound local error when updating group interface
  • 37976aaffb update interface draw for correct UI and clarity removes default value from xForm for outputs removes array if interface item is a connection and visa versa
  • fa05172de2 Interface Classes set the multi and default value now note that this is VERY untested and probably doesn't work for Schema
  • dbb1998052 Add Custom Interface Socket Types this commit (re)introduces custom node socket interface types I did this a long time ago but didn't really understand it so I let Blender do it automatically But I am bringing it back because it lets me set some custom variables for different socket types, such as default values or whether the socket should be an array or not.
  • Ver comparação para estes 5 commits »

há 2 semanas atrás

ns pushed para custom_interface_classes em ns/mantis

  • 0da7ca5e02 WIP: Route Group I/O through interface nodes This commit does not work! But it is a good start. The purpose of this commit is to move towards bundling connections at the base of each group in/out so that I can cache things, manage variables, and most importantly for present purposes, send arrays in and out in a more consistent way. Probably I revert this commit and do something very similar without the intervening node until I get that slightly simpler strategy working.

há 2 semanas atrás

ns pushed para custom_interface_classes em ns/mantis

  • 55517c8d51 Merge branch 'custom_interface_classes' of http://git.nodespaghetti.club/ns/mantis into custom_interface_classes
  • b878eb1846 Initialize Tree with correct version number
  • 746b067dd8 Fix: make default values work with more socket types this commit also improves the error message and it unfortunately(?) adds an assert from something I think is a safe assumption.
  • 0602cbacb0 Fix: interface panel doesn't have an identifier
  • 7d01ff4e2e New Feature: Default Values for base tree
  • Ver comparação para estes 19 commits »

há 2 semanas atrás

ns pushed para master em ns/mantis

  • aa15119835 Fix: Custom properties fail in Drivers I think - but I haven't confirmed - that newer Blenders have introduced a small change in how properties are read in Python. This commit explicitly checks if the custom property is in the .keys() of the bpy_struct instead of checking for the attribute. I expected Python to distinguish between a dot-addressed attribute and a bracket- addressed attribute (.attr vs. ["attr"]) but I guess not or not anymore. Anyhow the solution is simple and it seems to work in 4.5 and 4.2 without any problems.
  • 1a642ea8bb Fix: DriverVariable fails when linked to non-xForm I forgot to check if the socket it was connected to was actually a custom property. really really bad blunder this one seriously this one is inexcusable. Absolutely critical fail.
  • 595c799eb8 cleanup: remove prints
  • 022e7e8952 IO: set Mantis Version on new tree immediately this is necessary because some nodes have to interact with the versioning system. This saves me from having to do versioning in the i_o code too...
  • Ver comparação para estes 4 commits »

há 2 semanas atrás

ns pushed para custom_interface_classes em ns/mantis

  • 8c370ad9f6 Initialize Tree with correct version number

há 3 semanas atrás

ns pushed para custom_interface_classes em ns/mantis

há 3 semanas atrás

ns pushed para custom_interface_classes em ns/mantis

há 3 semanas atrás

ns pushed para master em ns/mantis

  • 82d0d38a04 Cleanup: remove green color from visualize code I just don't need to debug execution at the moment

há 3 semanas atrás

ns pushed para custom_interface_classes em ns/mantis

  • b979cdd50f Fix: default value disabled for Matrix (it is not yet implemented)
  • 3ec0dbbd0d Disable "Connected To" feature this one is a little too ambitious and it will be too hard to implement
  • 5a82f8db83 Implement Custom Interface Classes this commit implements versioning and basic functionality for - default values on group sockets - arrays and connections editable in the Node Group Interface - array support for regular Node Groups tested and working with Human, Elephant, and Stego files.
  • 528ad8f836 initial versioning for new interface classes
  • 3c0e191b5f fix: unbound local error when updating group interface

há 3 semanas atrás

ns criado novo branch custom_interface_classes em ns/mantis

há 3 semanas atrás