Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
8abd97b6
Commit
8abd97b6
authored
5 years ago
by
Mikhail Rachinskiy
Browse files
Options
Downloads
Patches
Plain Diff
Bool Tool: Remove help button
parent
ebf10530
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
object_boolean_tools.py
+1
-41
1 addition, 41 deletions
object_boolean_tools.py
with
1 addition
and
41 deletions
object_boolean_tools.py
+
1
−
41
View file @
8abd97b6
...
...
@@ -872,13 +872,8 @@ class VIEW3D_PT_booltool_tools(Panel):
def
poll
(
cls
,
context
):
return
context
.
active_object
is
not
None
def
draw_header
(
self
,
context
):
layout
=
self
.
layout
layout
.
operator
(
"
wm.booltool_help
"
,
text
=
""
,
icon
=
"
QUESTION
"
)
def
draw
(
self
,
context
):
layout
=
self
.
layout
obj
=
context
.
active_object
col
=
layout
.
column
(
align
=
True
)
col
.
label
(
text
=
"
Auto Boolean
"
)
...
...
@@ -917,7 +912,7 @@ class VIEW3D_PT_booltool_config(Panel):
@classmethod
def
poll
(
cls
,
context
):
actObj
=
context
.
active_object
return
isCanvas
(
actObj
)
or
isBrush
(
actObj
)
#
or isPolyBrush(actObj)
return
isCanvas
(
actObj
)
or
isBrush
(
actObj
)
#
or isPolyBrush(actObj)
def
draw
(
self
,
context
):
layout
=
self
.
layout
...
...
@@ -1046,39 +1041,6 @@ class VIEW3D_PT_booltool_bviewer(Panel):
Dw
.
direction
=
"
DOWN
"
# ------------------ BOOL TOOL Help ----------------------------
class
WM_OT_BoolTool_Help
(
Operator
):
bl_idname
=
"
wm.booltool_help
"
bl_label
=
"
Bool Tool Help
"
bl_description
=
"
Help - click to read basic information
"
def
draw
(
self
,
context
):
layout
=
self
.
layout
layout
.
label
(
text
=
"
To use:
"
)
layout
.
label
(
text
=
"
Select two or more objects,
"
)
layout
.
label
(
text
=
"
choose one option from the panel
"
)
layout
.
label
(
text
=
"
or from the Ctrl + Shift + B menu
"
)
layout
.
separator
()
layout
.
label
(
text
=
"
Auto Boolean:
"
)
layout
.
label
(
text
=
"
Apply Boolean operation directly to mesh.
"
)
layout
.
separator
()
layout
.
label
(
text
=
"
Brush Boolean:
"
)
layout
.
label
(
text
=
"
Create a Boolean brush modifier setup.
"
)
def
execute
(
self
,
context
):
return
{
"
FINISHED
"
}
def
invoke
(
self
,
context
,
event
):
return
context
.
window_manager
.
invoke_popup
(
self
,
width
=
220
)
# ------------------ BOOL TOOL ADD-ON PREFERENCES ----------------------------
...
...
@@ -1166,7 +1128,6 @@ class PREFS_BoolTool_Props(AddonPreferences):
layout
.
use_property_split
=
True
layout
.
use_property_decorate
=
False
col
=
layout
.
column
()
col
.
prop
(
self
,
"
category
"
)
col
.
prop
(
self
,
"
fast_transform
"
)
...
...
@@ -1219,7 +1180,6 @@ classes = (
BTool_EnableThisBrush
,
BTool_EnableFTransform
,
BTool_FastTransform
,
WM_OT_BoolTool_Help
,
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment