~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to release/scripts/startup/bl_ui/__init__.py

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    "properties_data_modifier",
39
39
    "properties_data_speaker",
40
40
    "properties_game",
 
41
    "properties_mask_common",
41
42
    "properties_material",
42
43
    "properties_object_constraint",
43
44
    "properties_object",
47
48
    "properties_physics_dynamicpaint",
48
49
    "properties_physics_field",
49
50
    "properties_physics_fluid",
 
51
    "properties_physics_rigidbody",
 
52
    "properties_physics_rigidbody_constraint",
50
53
    "properties_physics_smoke",
51
54
    "properties_physics_softbody",
52
55
    "properties_render",
91
94
    def addon_filter_items(self, context):
92
95
        import addon_utils
93
96
 
94
 
        items = [('All', "All", ""),
95
 
                 ('Enabled', "Enabled", ""),
96
 
                 ('Disabled', "Disabled", ""),
97
 
                ]
 
97
        items = [('All', "All", "All Addons"),
 
98
                 ('User', "User", "All Addons Installed by User"),
 
99
                 ('Enabled', "Enabled", "All Enabled Addons"),
 
100
                 ('Disabled', "Disabled", "All Disabled Addons"),
 
101
                 ]
98
102
 
99
103
        items_unique = set()
100
104
 
118
122
    WindowManager.addon_support = EnumProperty(
119
123
            items=[('OFFICIAL', "Official", "Officially supported"),
120
124
                   ('COMMUNITY', "Community", "Maintained by community developers"),
121
 
                   ('TESTING', "Testing", "Newly contributed scripts (excluded from release builds)"),
122
 
                  ],
 
125
                   ('TESTING', "Testing", "Newly contributed scripts (excluded from release builds)")
 
126
                   ],
123
127
            name="Support",
124
128
            description="Display support level",
125
129
            default={'OFFICIAL', 'COMMUNITY'},
130
134
 
131
135
def unregister():
132
136
    bpy.utils.unregister_module(__name__)
 
137
 
 
138
 
 
139
# Define a default UIList, when a list does not need any custom drawing...
 
140
# Keep in sync with its #defined name in UI_interface.h
 
141
class UI_UL_list(bpy.types.UIList):
 
142
    pass
 
143
 
 
144
bpy.utils.register_class(UI_UL_list)