Blender Git Loki

Git Commits -> Revision 9bcf1bb

Revision 9bcf1bb by Lukas Toenne (master)
July 17, 2015, 09:59 (GMT)
Fix for nodeitems module using the NODE_MT_add menu types from bl_ui.

This is basically a bad-level call: ui scripts are registered *after*
the modules. It only works for addons because those are loaded even
later.

Now the nodeitems_utils module just defines a function which is then
called by the UI script, rather than the other way around.

Commit Details:

Full Hash: 9bcf1bb266e09f92a50033d1c9c4c42bd69290e3
Parent Commit: 4052384
Lines Changed: +7, -5

2 Modified Paths:

/release/scripts/modules/nodeitems_utils.py (+4, -4) (Diff)
/release/scripts/startup/bl_ui/space_node.py (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021