Workspace: Move engines to workspace and Properties Editor cleanup
[blender.git] / release / scripts / startup / bl_ui / properties_data_speaker.py
index 5ed9ce0478c595e092155a479929f373ba79a53a..769efb96b381590cf887b9610f9b9f7ca8db5a73 100644 (file)
@@ -29,7 +29,7 @@ class DataButtonsPanel:
 
     @classmethod
     def poll(cls, context):
-        engine = context.scene.render.engine
+        engine = context.engine
         return context.speaker and (engine in cls.COMPAT_ENGINES)