Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_paint_common.py
| Show First 20 Lines • Show All 307 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| # scale and offset | # scale and offset | ||||
| col.prop(mask_tex_slot, "offset") | col.prop(mask_tex_slot, "offset") | ||||
| col.prop(mask_tex_slot, "scale") | col.prop(mask_tex_slot, "scale") | ||||
| class StrokePanel(BrushPanel): | class StrokePanel(BrushPanel): | ||||
| bl_label = "Stroke" | bl_label = "Stroke" | ||||
| bl_options = {'DEFAULT_CLOSED'} | bl_options = {'DEFAULT_CLOSED'} | ||||
| bl_ui_units_x = 13 | |||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| layout.use_property_split = True | layout.use_property_split = True | ||||
| layout.use_property_decorate = False | layout.use_property_decorate = False | ||||
| mode = self.get_brush_mode(context) | mode = self.get_brush_mode(context) | ||||
| settings = self.paint_settings(context) | settings = self.paint_settings(context) | ||||
| ▲ Show 20 Lines • Show All 936 Lines • Show Last 20 Lines | |||||