Page MenuHome

WIP: EXPERIMENT: Use dynamic declaration as socket update function
AbandonedPublic

Authored by Iliya Katueshenock (Moder) on Dec 8 2022, 7:42 PM.

Details

Reviewers
None

Diff Detail

Event Timeline

Iliya Katueshenock (Moder) requested review of this revision.Dec 8 2022, 7:42 PM
Iliya Katueshenock (Moder) created this revision.

I think I've slept too little these past few days.
I'll get enough sleep and tomorrow I'll follow the whole life of the type, from registration to deletion. To be sure exactly how the sockets live.

Continued work.
This now works, but only for geometric sockets.
I'm starting to see what needs to be done for this.

  • Analog of convert_to_static_type for sockets
  • Hash for NodeDeclaration
  • Clear of NodeDeclaration
  • nodeDeclarationEnsure need to update only for static declarations.
  • If declaration is dynamic, will need to update this and sockets in updatefunc or as step in update_individual_nodes, after updatefunc set is_dirty for NodeDeclaration. Something as node_sockets_sync_declaration

at more clear start, i will split this path to some parts