Blender 2.72 not being friendly with Matt Ebb's 3Delight exporter... :(

Hi guys. Hopefully, this is the area to post things like this.

Anyway, what my problem is, I can’t use textures in the 3delight exporter for blender, because, every time I do, I’m locked in the texture panel! What happens:

  1. I make a new material
  2. I click the plus next to the ‘texname’ variable
  3. I do my texturing stuff in the texture panel.
  4. BUT… what happens when I click “back to shader properties?” THIS

Traceback (most recent call last):
File: “C:/Program Files/Blender Foundation/Blender/2.72/Scripts/Addons/render_3delight/operators.py,” Line 271, in execute space.context = context.window_manager.prev_context
TypeError: bpy_struct: item.attr = val: enum “MATERIAL” not found in (‘TEXTURE’)

location: <unknown location>:-1

Any idea whathas cuased this stupid issue? All I can guess is that there must have been a syntax change from 2.63 to 2.72 that broke this panel… Also, I can’t go to Matt Ebb for it, as he isn’t working on it anymore!

So anyone know what I could do? I can’t roll back to 2.63, as some of my recent models are 2.72 only! :mad:

Moved from “General Forums > Blender and CG Discussions” to “Support > Technical Support”

Thanks for moving the thread, will use that section in future.

I got the script working again! :slight_smile:
for those who have my problem and want to know how I did it;

Instead of
space.context = context.window_manager.prev_context

In operators.py, on line 271, I put this:
space.context = ‘TEXTURE’

True, this switches the texture panel off, but it also un-hides the other buttons, thus, I can sue the plugin again now! :slight_smile:

Thank you!