Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-03-06 10:16:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-06 11:00:18 +0300
commitbd7969159997b8802d54e79a002350a7fb97944d (patch)
tree45cc470e0c24c39c563138c3eb3664b73ece7f9a /release/scripts/startup/bl_ui/properties_paint_common.py
parent753f1cf0adf7bca5bf3c10ffb533552af19498ef (diff)
Cleanup: unused variables
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_paint_common.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index dfdc6ab79f4..1f1d407bd10 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -614,7 +614,6 @@ def brush_settings(layout, context, brush, popover=False):
# use_persistent, set_persistent_base
if capabilities.has_persistence:
- ob = context.sculpt_object
layout.separator()
layout.prop(brush, "use_persistent")
layout.operator("sculpt.set_persistent_base")
@@ -1318,7 +1317,6 @@ def brush_basic_gpencil_sculpt_settings(layout, context, brush, *, compact=False
def brush_basic_gpencil_weight_settings(layout, _context, brush, *, compact=False):
- gp_settings = brush.gpencil_settings
layout.prop(brush, "size", slider=True)
row = layout.row(align=True)