YafaRay / Blender-Exporter

ARCHIVED-READ ONLY now. Use YafaRay-Blender repository instead. YafaRay's Blender Exporter
http://www.yafaray.org
63 stars 19 forks source link

Fix for Camera panels appearing in LuxRender #30

Closed DavidBluecame closed 9 years ago

DavidBluecame commented 9 years ago

When LuxRender and YafaRay are enabled in Blender, sometimes the YafaRay camera panels appear among the LuxRender panels.

This problem is described in the LuxRender forum: http://www.luxrender.net/forum/viewtopic.php?f=16&t=12405&start=20

I believe that's because the property COMPAT_ENGINES is set to the base class which is also set by LuxRender. In my opinion we should set this property individually for each of the YafaRay classes and not relying in the base class.

I also believe we should review all YafaRay UI python files to make sure this kind of undesired interference with other renderers does not happen with other YafaRay classes, maybe also putting this property to each YafaRay individual class?

Changes to be committed: modified: ui/properties_yaf_camera.py

DarkTide commented 9 years ago

I agree on the review David

DavidBluecame commented 9 years ago

Thank you, Rodrigo! :-)