Esempio n. 1
0
    def draw(self, context):
        layout = self.layout

        md = context.smoke.domain_settings
        cache = md.point_cache

        layout.label(text="Compression:")
        layout.prop(md, "point_cache_compress_type", expand=True)

        point_cache_ui(self, context, cache, (cache.is_baked is False), 'SMOKE')
Esempio n. 2
0
    def draw(self, context):
        layout = self.layout

        md = context.smoke.domain_settings
        cache = md.point_cache

        layout.label(text="Compression:")
        layout.prop(md, "point_cache_compress_type", expand=True)

        point_cache_ui(self, context, cache, (cache.is_baked is False),
                       'SMOKE')
 def draw(self, context):
     md = context.soft_body
     point_cache_ui(self, context, md.point_cache,
                    softbody_panel_enabled(md), 'SOFTBODY')
 def draw(self, context):
     md = context.cloth
     point_cache_ui(self, context, md.point_cache, cloth_panel_enabled(md), 'CLOTH')
 def draw(self, context):
     md = context.cloth
     point_cache_ui(self, context, md.point_cache, cloth_panel_enabled(md),
                    'CLOTH')
Esempio n. 6
0
    def draw(self, context):
        psys = context.particle_system

        point_cache_ui(self, context, psys.point_cache, True, 'HAIR' if (psys.settings.type == 'HAIR') else 'PSYS')
 def draw(self, context):
     md = context.soft_body
     point_cache_ui(self, context, md.point_cache, softbody_panel_enabled(md), "SOFTBODY")
    def draw(self, context):
        psys = context.particle_system

        point_cache_ui(self, context, psys.point_cache, True, 'HAIR' if
                       (psys.settings.type == 'HAIR') else 'PSYS')