-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with the package nodeitems_utils.py script #260
Comments
It seems to be related to the icon code in this script. The attached works better. |
This is still broken. Could you consider checking whether there's something funky in your branch? |
I felt the need to bump this. |
@philstopford How do you reproduce this? I can import .obj files without errors. |
Actually, the OBJ comments should go to #261 and I closed that ticket a while back. The problem with the nodeitems_utils.py script remains - SceneCity is broken with blender/V-ray port. |
To recap the changes in this patched script, which I tested with the 706cd8b install :
and then there is a built-in assumption that icons exist in the item draw code, which seems to react better with a try/except :
|
Just following up on this : 2901eb7 still has the problem |
Bumping again. Has activity ceased for the time being? |
@philstopford Unfortunatelly SceneCity is paid and I can't test if the changes will fix it really. Anyway I added them with 9edd2f8 test and write back when you can. |
I'll try and build from source later this week; it looks like there are no automated builds currently being generated by ChaosGroup. I'll let you know how I get on. |
Builds are running now, they should appear soon in the nightlies. |
Looks good here - thanks. Build service saved me the trouble :) |
Trying to use SceneCity with this version of blender, I get errors in the console of the form :
location: :-1
Traceback (most recent call last):
File "C:\Program Files\Chaos Group\Blender 2.79 (With V-Ray Additions)\2.79\scripts\modules\nodeitems_utils.py", line 131, in draw_node_menu_item
for i,item in enumerate(sorted(self.category.items(context), key=lambda t: getattr(bpy.types, t.nodetype).bl_rna.name)):
File "C:\Program Files\Chaos Group\Blender 2.79 (With V-Ray Additions)\2.79\scripts\modules\nodeitems_utils.py", line 131, in
for i,item in enumerate(sorted(self.category.items(context), key=lambda t: getattr(bpy.types, t.nodetype).bl_rna.name)):
AttributeError: 'RNA_Types' object has no attribute 'StaticRoadPortionNode'
and none of the addons entries in its menus are available in the node editor. Nightly builds and 2.79b are fine, so this looks to be specific to the V-ray blender build corresponding to the 5fdbde0 release
The text was updated successfully, but these errors were encountered: