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
b228db8b
Commit
b228db8b
authored
2 years ago
by
Daniel Salazar
Browse files
Options
Downloads
Patches
Plain Diff
AnimAll: More UI tweaks
parent
5902265f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
animation_animall.py
+13
-7
13 additions, 7 deletions
animation_animall.py
with
13 additions
and
7 deletions
animation_animall.py
+
13
−
7
View file @
b228db8b
...
...
@@ -129,25 +129,29 @@ class VIEW3D_PT_animall(Panel):
bl_space_type
=
'
VIEW_3D
'
bl_region_type
=
'
UI
'
bl_category
=
"
Animate
"
bl_label
=
'
AnimAll
'
bl_label
=
''
@classmethod
def
poll
(
self
,
context
):
return
context
.
active_object
and
context
.
active_object
.
type
in
{
'
MESH
'
,
'
LATTICE
'
,
'
CURVE
'
,
'
SURFACE
'
}
def
draw_header
(
self
,
context
):
layout
=
self
.
layout
row
=
layout
.
row
()
row
.
label
(
text
=
'
AnimAll
'
,
icon
=
'
ARMATURE_DATA
'
)
def
draw
(
self
,
context
):
obj
=
context
.
active_object
animall_properties
=
context
.
scene
.
animall_properties
layout
=
self
.
layout
layout
.
label
(
text
=
'
Key:
'
)
layout
.
use_property_split
=
True
layout
.
use_property_decorate
=
False
split
=
layout
.
split
(
factor
=
0.4
,
align
=
True
)
split
.
label
(
text
=
''
)
split
.
label
(
text
=
'
Key:
'
)
if
obj
.
type
==
'
LATTICE
'
:
col
=
layout
.
column
(
align
=
True
)
col
.
prop
(
animall_properties
,
"
key_point_location
"
)
...
...
@@ -210,8 +214,10 @@ class VIEW3D_PT_animall(Panel):
if
animall_properties
.
key_point_location
:
col
.
label
(
text
=
'"
Location
"
and
"
Shape Key
"
are redundant?
'
,
icon
=
"
INFO
"
)
col
=
layout
.
column
(
align
=
True
)
col
.
prop
(
animall_properties
,
"
key_selected
"
)
layout
.
use_property_split
=
False
layout
.
separator
()
row
=
layout
.
row
()
row
.
prop
(
animall_properties
,
"
key_selected
"
)
row
=
layout
.
row
(
align
=
True
)
row
.
operator
(
"
anim.insert_keyframe_animall
"
,
icon
=
"
KEY_HLT
"
)
...
...
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