[Bf-blender-cvs] [6856ea0] master: Bugfix T43866: 'Purge all' button in the outliner

Joshua Leung noreply at git.blender.org
Tue Mar 3 01:04:50 CET 2015


Commit: 6856ea06425357921bd9a7e5089c2f2adbf1413a
Author: Joshua Leung
Date:   Tue Mar 3 12:51:50 2015 +1300
Branches: master
https://developer.blender.org/rB6856ea06425357921bd9a7e5089c2f2adbf1413a

Bugfix T43866: 'Purge all' button in the outliner

The cleanups in 08a2101 forgot to modify the UI code which was using these values.

===================================================================

M	release/scripts/startup/bl_ui/space_outliner.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py
index 9c60189..7b1dfb9 100644
--- a/release/scripts/startup/bl_ui/space_outliner.py
+++ b/release/scripts/startup/bl_ui/space_outliner.py
@@ -57,7 +57,7 @@ class OUTLINER_HT_header(Header):
             else:
                 row = layout.row()
                 row.label(text="No Keying Set active")
-        elif space.display_mode == 'ORPHANED_DATABLOCKS':
+        elif space.display_mode == 'ORPHAN_DATA':
             layout.operator("outliner.orphans_purge")




More information about the Bf-blender-cvs mailing list