OrderedDict was needed when we were using Blender 2.79b (with Python 3.5) to ensure that node sockets were consistently created in the same order as they were listed in Korman's code. As of Python 3.7, standard dict objects remember their order of insertion. Now that we require Blender for Korman or self-build Blenders using at least Python 3.7, we can remove OrderedDict and convert the node socket definitions to standard dict objects.
OrderedDict
was needed when we were using Blender 2.79b (with Python 3.5) to ensure that node sockets were consistently created in the same order as they were listed in Korman's code. As of Python 3.7, standarddict
objects remember their order of insertion. Now that we require Blender for Korman or self-build Blenders using at least Python 3.7, we can removeOrderedDict
and convert the node socket definitions to standarddict
objects.