Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
raas
BlenderPhi
Commits
010cd667
Commit
010cd667
authored
13 years ago
by
Thomas Dinges
Browse files
Options
Downloads
Patches
Plain Diff
VIEW3D_PT_tools_meshedit_options panel:
* Removed ob check and add a proper poll function.
parent
133a7df7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
release/scripts/startup/bl_ui/space_view3d_toolbar.py
+16
-13
16 additions, 13 deletions
release/scripts/startup/bl_ui/space_view3d_toolbar.py
with
16 additions
and
13 deletions
release/scripts/startup/bl_ui/space_view3d_toolbar.py
+
16
−
13
View file @
010cd667
...
...
@@ -172,28 +172,31 @@ class VIEW3D_PT_tools_meshedit(View3DPanel, Panel):
class
VIEW3D_PT_tools_meshedit_options
(
View3DPanel
,
Panel
):
bl_context
=
"
mesh_edit
"
bl_label
=
"
Mesh Options
"
@classmethod
def
poll
(
cls
,
context
):
return
context
.
active_object
def
draw
(
self
,
context
):
layout
=
self
.
layout
ob
=
context
.
active_object
if
ob
:
tool_settings
=
context
.
tool_settings
mesh
=
ob
.
data
tool_settings
=
context
.
tool_settings
mesh
=
ob
.
data
col
=
layout
.
column
(
align
=
True
)
col
.
active
=
tool_settings
.
proportional_edit
==
'
DISABLED
'
col
.
prop
(
mesh
,
"
use_mirror_x
"
)
col
=
layout
.
column
(
align
=
True
)
col
.
active
=
tool_settings
.
proportional_edit
==
'
DISABLED
'
col
.
prop
(
mesh
,
"
use_mirror_x
"
)
row
=
col
.
row
()
row
.
active
=
ob
.
data
.
use_mirror_x
row
.
prop
(
mesh
,
"
use_mirror_topology
"
)
row
=
col
.
row
()
row
.
active
=
ob
.
data
.
use_mirror_x
row
.
prop
(
mesh
,
"
use_mirror_topology
"
)
col
=
layout
.
column
(
align
=
True
)
col
.
label
(
"
Edge Select Mode:
"
)
col
.
prop
(
tool_settings
,
"
edge_path_mode
"
,
text
=
""
)
col
.
prop
(
tool_settings
,
"
edge_path_live_unwrap
"
)
col
=
layout
.
column
(
align
=
True
)
col
.
label
(
"
Edge Select Mode:
"
)
col
.
prop
(
tool_settings
,
"
edge_path_mode
"
,
text
=
""
)
col
.
prop
(
tool_settings
,
"
edge_path_live_unwrap
"
)
# ********** default tools for editmode_curve ****************
...
...
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