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

« back to all changes in this revision

Viewing changes to release/scripts/startup/bl_ui/properties_data_lamp.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:
118
118
 
119
119
class DATA_PT_sunsky(DataButtonsPanel, Panel):
120
120
    bl_label = "Sky & Atmosphere"
121
 
    COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
 
121
    COMPAT_ENGINES = {'BLENDER_RENDER'}
122
122
 
123
123
    @classmethod
124
124
    def poll(cls, context):
190
190
 
191
191
class DATA_PT_shadow(DataButtonsPanel, Panel):
192
192
    bl_label = "Shadow"
193
 
    COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
 
193
    COMPAT_ENGINES = {'BLENDER_RENDER'}
194
194
 
195
195
    @classmethod
196
196
    def poll(cls, context):
322
322
        col.row().prop(lamp, "shape", expand=True)
323
323
        sub = col.row(align=True)
324
324
 
325
 
        if (lamp.shape == 'SQUARE'):
 
325
        if lamp.shape == 'SQUARE':
326
326
            sub.prop(lamp, "size")
327
 
        elif (lamp.shape == 'RECTANGLE'):
 
327
        elif lamp.shape == 'RECTANGLE':
328
328
            sub.prop(lamp, "size", text="Size X")
329
329
            sub.prop(lamp, "size_y", text="Size Y")
330
330