Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons-contrib
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons-contrib
Commits
fb6f9569
Commit
fb6f9569
authored
Jan 23, 2019
by
NBurn
Browse files
Options
Downloads
Patches
Plain Diff
addons-contrib: added missing keyword align
parent
24ac9c6b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
exact_edit/__init__.py
+1
-1
1 addition, 1 deletion
exact_edit/__init__.py
exact_edit/xedit_set_meas.py
+2
-2
2 additions, 2 deletions
exact_edit/xedit_set_meas.py
np_station/__init__.py
+8
-8
8 additions, 8 deletions
np_station/__init__.py
with
11 additions
and
11 deletions
exact_edit/__init__.py
+
1
−
1
View file @
fb6f9569
...
@@ -51,7 +51,7 @@ class XEditPanel(bpy.types.Panel):
...
@@ -51,7 +51,7 @@ class XEditPanel(bpy.types.Panel):
def
draw
(
self
,
context
):
def
draw
(
self
,
context
):
#layout = self.layout
#layout = self.layout
row
=
self
.
layout
.
row
(
True
)
row
=
self
.
layout
.
row
(
align
=
True
)
col
=
row
.
column
()
col
=
row
.
column
()
col
.
operator
(
"
view3d.xedit_set_meas_op
"
,
text
=
"
Set Measure
"
,
icon
=
"
EDIT
"
)
col
.
operator
(
"
view3d.xedit_set_meas_op
"
,
text
=
"
Set Measure
"
,
icon
=
"
EDIT
"
)
col
.
operator
(
"
view3d.xedit_free_rotate_op
"
,
text
=
"
Free Rotate
"
,
icon
=
"
FORCE_MAGNETIC
"
)
col
.
operator
(
"
view3d.xedit_free_rotate_op
"
,
text
=
"
Free Rotate
"
,
icon
=
"
FORCE_MAGNETIC
"
)
...
...
This diff is collapsed.
Click to expand it.
exact_edit/xedit_set_meas.py
+
2
−
2
View file @
fb6f9569
...
@@ -332,14 +332,14 @@ class XEditMeasureInputPanel(bpy.types.Operator):
...
@@ -332,14 +332,14 @@ class XEditMeasureInputPanel(bpy.types.Operator):
self
.
float_new_meas
=
float
(
prev_popup_inputs
[
int_prev_meas
])
self
.
float_new_meas
=
float
(
prev_popup_inputs
[
int_prev_meas
])
self
.
prev_meas
=
'
-
'
self
.
prev_meas
=
'
-
'
row
=
self
.
layout
.
row
(
True
)
row
=
self
.
layout
.
row
(
align
=
True
)
# split row into 3 cells: 1st 1/3, 2nd 75% of 2/3, 3rd 25% of 2/3
# split row into 3 cells: 1st 1/3, 2nd 75% of 2/3, 3rd 25% of 2/3
split
=
row
.
split
(
align
=
False
)
split
=
row
.
split
(
align
=
False
)
split
.
label
(
text
=
"
Measurement
"
)
split
.
label
(
text
=
"
Measurement
"
)
split
=
row
.
split
(
percentage
=
0.75
,
align
=
False
)
split
=
row
.
split
(
percentage
=
0.75
,
align
=
False
)
split
.
prop
(
self
,
'
float_new_meas
'
,
text
=
""
)
split
.
prop
(
self
,
'
float_new_meas
'
,
text
=
""
)
split
.
operator
(
"
object.store_meas_inp_op
"
,
text
=
"
Store
"
)
split
.
operator
(
"
object.store_meas_inp_op
"
,
text
=
"
Store
"
)
row
=
self
.
layout
.
row
(
True
)
row
=
self
.
layout
.
row
(
align
=
True
)
row
.
prop
(
self
,
'
prev_meas
'
)
row
.
prop
(
self
,
'
prev_meas
'
)
...
...
This diff is collapsed.
Click to expand it.
np_station/__init__.py
+
8
−
8
View file @
fb6f9569
...
@@ -74,8 +74,8 @@ class NP020BasePanel(bpy.types.Panel):
...
@@ -74,8 +74,8 @@ class NP020BasePanel(bpy.types.Panel):
def
draw
(
self
,
context
):
def
draw
(
self
,
context
):
layout
=
self
.
layout
layout
=
self
.
layout
row
=
self
.
layout
.
row
(
True
)
row
=
self
.
layout
.
row
(
align
=
True
)
col
=
row
.
column
(
True
)
col
=
row
.
column
(
align
=
True
)
col
.
label
(
text
=
"
Create:
"
,
icon
=
"
MESH_CUBE
"
)
col
.
label
(
text
=
"
Create:
"
,
icon
=
"
MESH_CUBE
"
)
col
.
separator
()
col
.
separator
()
col
.
operator
(
'
object.np_020_float_poly
'
,
icon
=
'
MESH_DATA
'
,
text
=
'
float_poly
'
)
col
.
operator
(
'
object.np_020_float_poly
'
,
icon
=
'
MESH_DATA
'
,
text
=
'
float_poly
'
)
...
@@ -83,8 +83,8 @@ class NP020BasePanel(bpy.types.Panel):
...
@@ -83,8 +83,8 @@ class NP020BasePanel(bpy.types.Panel):
col
.
operator
(
'
object.np_020_float_box
'
,
icon
=
'
MESH_CUBE
'
,
text
=
'
float_box
'
)
col
.
operator
(
'
object.np_020_float_box
'
,
icon
=
'
MESH_CUBE
'
,
text
=
'
float_box
'
)
self
.
layout
.
separator
()
self
.
layout
.
separator
()
row
=
self
.
layout
.
row
(
True
)
row
=
self
.
layout
.
row
(
align
=
True
)
col
=
row
.
column
(
True
)
col
=
row
.
column
(
align
=
True
)
col
.
label
(
text
=
"
Modify:
"
,
icon
=
"
MODIFIER
"
)
col
.
label
(
text
=
"
Modify:
"
,
icon
=
"
MODIFIER
"
)
col
.
separator
()
col
.
separator
()
col
.
operator
(
'
object.np_020_point_move
'
,
icon
=
'
MAN_TRANS
'
,
text
=
'
point_move
'
)
col
.
operator
(
'
object.np_020_point_move
'
,
icon
=
'
MAN_TRANS
'
,
text
=
'
point_move
'
)
...
@@ -97,16 +97,16 @@ class NP020BasePanel(bpy.types.Panel):
...
@@ -97,16 +97,16 @@ class NP020BasePanel(bpy.types.Panel):
self
.
layout
.
separator
()
self
.
layout
.
separator
()
row
=
self
.
layout
.
row
(
True
)
row
=
self
.
layout
.
row
(
align
=
True
)
col
=
row
.
column
(
True
)
col
=
row
.
column
(
align
=
True
)
col
.
label
(
text
=
"
Transfer:
"
,
icon
=
'
BRUSH_DATA
'
)
col
.
label
(
text
=
"
Transfer:
"
,
icon
=
'
BRUSH_DATA
'
)
col
.
separator
()
col
.
separator
()
col
.
operator
(
'
object.np_020_shader_brush
'
,
icon
=
'
MOD_DYNAMICPAINT
'
,
text
=
'
shader_brush
'
)
col
.
operator
(
'
object.np_020_shader_brush
'
,
icon
=
'
MOD_DYNAMICPAINT
'
,
text
=
'
shader_brush
'
)
self
.
layout
.
separator
()
self
.
layout
.
separator
()
row
=
self
.
layout
.
row
(
True
)
row
=
self
.
layout
.
row
(
align
=
True
)
col
=
row
.
column
(
True
)
col
=
row
.
column
(
align
=
True
)
col
.
label
(
text
=
"
Measure:
"
,
icon
=
"
ALIGN
"
)
col
.
label
(
text
=
"
Measure:
"
,
icon
=
"
ALIGN
"
)
col
.
separator
()
col
.
separator
()
col
.
operator
(
'
object.np_020_point_distance
'
,
icon
=
'
ARROW_LEFTRIGHT
'
,
text
=
'
point_distance
'
)
col
.
operator
(
'
object.np_020_point_distance
'
,
icon
=
'
ARROW_LEFTRIGHT
'
,
text
=
'
point_distance
'
)
...
...
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