Hans Goudey
1ccba4d9fe
Nodes: Use index instead of reordering for draw order
...
Currently nodes are reordered so that the "on top" nodes are last in
the list. Node order changing for simple operations like selection
means we either have to reevaluate the node tree data-block on
selections or accept that the evaluated order can be different from the
original. Currently we do the latter (see d76a0e98ba ), but
makes it complex to access nodes by index, and is hard to reason about.
Instead of reordering nodes, store the ui order in the node itself
and sort the nodes before drawing them or doing any processing
that depends on the "depth."
The "selected_nodes" list in the context is no longer ordered by the
recent selection.
Pull Request: https://projects.blender.org/blender/blender/pulls/113419
2023-10-10 10:57:51 +02:00
..
2023-10-10 10:57:51 +02:00
2023-08-29 14:31:18 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-24 16:33:31 +02:00
2023-05-31 16:19:06 +02:00
2023-05-31 16:19:06 +02:00
2023-08-24 16:33:31 +02:00
2023-08-16 00:20:26 +10:00
2023-09-25 10:56:12 +02:00
2023-09-26 14:17:21 +02:00
2023-08-16 00:20:26 +10:00
2023-09-26 16:38:50 +02:00
2023-08-16 00:20:26 +10:00
2023-09-26 15:36:12 +02:00
2023-10-09 15:23:48 +02:00
2023-08-16 00:20:26 +10:00
2023-09-26 20:30:46 +02:00
2023-09-03 13:37:50 +02:00
2023-09-03 13:37:50 +02:00
2023-09-03 13:37:50 +02:00
2023-09-03 13:37:50 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-10-03 12:18:36 +02:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-07-10 18:12:41 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-10 14:51:40 +03:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2023-09-25 17:06:04 +10:00
2023-08-24 16:33:31 +02:00
2023-08-16 00:20:26 +10:00
2023-05-31 16:19:06 +02:00
2023-08-30 22:36:36 +02:00
2023-10-03 14:12:42 +02:00
2023-09-08 16:53:30 +10:00
2023-09-19 15:43:56 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-09-06 22:03:16 +10:00
2023-08-16 00:20:26 +10:00
2023-10-09 15:23:48 +02:00
2023-08-16 00:20:26 +10:00
2023-10-06 10:49:54 +02:00
2023-08-16 00:20:26 +10:00
2023-09-14 13:25:24 +10:00
2023-08-16 00:20:26 +10:00
2023-10-05 13:57:14 +11:00
2023-07-24 22:06:55 +02:00
2023-05-31 16:19:06 +02:00
2023-06-15 22:18:28 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-07-31 13:02:30 +10:00
2023-08-16 00:20:26 +10:00
2023-09-05 11:04:27 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-10-07 23:14:04 +02:00
2023-10-05 13:33:37 +11:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-09-27 14:47:50 +10:00
2023-08-24 16:33:31 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-10-09 12:42:01 +02:00
2023-09-04 18:02:16 +02:00
2023-09-22 12:21:18 +10:00
2023-08-16 00:20:26 +10:00
2023-08-25 09:40:42 +10:00
2023-07-04 17:03:02 +02:00
2023-08-16 00:20:26 +10:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2023-07-31 13:02:30 +10:00
2023-10-07 23:14:04 +02:00
2023-07-31 13:02:30 +10:00
2023-08-16 00:20:26 +10:00
2023-07-24 22:06:55 +02:00
2023-08-16 00:20:26 +10:00
2023-07-31 13:02:30 +10:00
2023-08-25 09:40:42 +10:00
2023-07-31 13:02:30 +10:00
2023-08-31 16:46:25 +02:00
2023-08-23 16:44:56 +02:00
2023-09-05 11:04:27 +10:00
2023-05-31 16:19:06 +02:00
2023-09-25 18:00:28 +02:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-07-27 16:21:38 +02:00
2023-08-16 00:20:26 +10:00
2023-08-08 17:36:06 +02:00
2023-08-16 00:20:26 +10:00
2023-05-31 16:19:06 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-03 09:44:28 +10:00
2023-08-30 23:41:59 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-29 11:47:29 -04:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-30 23:41:59 +02:00
2023-08-16 00:20:26 +10:00
2023-08-31 14:22:22 -04:00
2023-09-07 08:36:43 -04:00
2023-08-24 16:33:31 +02:00
2023-08-16 00:20:26 +10:00
2023-08-03 01:11:28 +02:00
2023-09-27 13:03:29 +10:00
2023-09-28 11:24:48 +02:00
2023-10-04 19:21:07 +02:00
2023-08-16 00:20:26 +10:00
2023-09-22 15:43:59 +02:00
2023-10-10 10:57:51 +02:00
2023-08-16 00:20:26 +10:00
2023-10-08 14:38:28 +02:00
2023-09-20 14:40:56 +02:00
2023-08-16 00:20:26 +10:00
2023-10-10 00:55:58 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-05-31 16:19:06 +02:00
2023-09-26 14:21:07 +02:00
2023-08-29 17:00:33 +02:00
2023-10-06 18:05:59 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-18 08:56:12 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-09-22 08:08:19 -04:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-08 17:36:06 +02:00
2023-10-09 16:56:16 +02:00
2023-08-16 00:20:26 +10:00
2023-08-24 16:33:31 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-30 22:36:36 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-31 19:40:39 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-29 17:00:33 +02:00
2023-08-16 00:20:26 +10:00
2023-09-19 11:09:20 +10:00
2023-06-07 14:17:37 +02:00
2023-09-14 13:25:24 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-06-26 13:09:06 +10:00
2023-05-31 16:19:06 +02:00
2023-09-27 11:09:39 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-05-31 16:19:06 +02:00
2023-06-19 12:40:37 +10:00
2023-06-19 12:40:37 +10:00
2023-10-09 23:41:53 +02:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00
2023-08-16 00:20:26 +10:00