diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py
index 10bfe536cfa3107a3c83e7e1ee4c1d4f027ffac5..f9578de619606629c98d34532c1cfbb57f1ac52d 100644
--- a/io_scene_fbx/export_fbx.py
+++ b/io_scene_fbx/export_fbx.py
@@ -2836,7 +2836,7 @@ def save(operator, context,
         if use_selection:
             kwargs_mod["context_objects"] = context.selected_objects
         else:
-            kwargs_mod["context_objects"] = scene.objects
+            kwargs_mod["context_objects"] = context.scene.objects
 
         return save_single(operator, context.scene, filepath, **kwargs_mod)
     else: