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
e3f0280b
Commit
e3f0280b
authored
14 years ago
by
Campbell Barton
Browse files
Options
Downloads
Patches
Plain Diff
fix for recent rna changes
parent
2e2d7c7a
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
object_add_chain.py
+3
-3
3 additions, 3 deletions
object_add_chain.py
with
3 additions
and
3 deletions
object_add_chain.py
+
3
−
3
View file @
e3f0280b
...
@@ -35,7 +35,7 @@ def Add_Chain():
...
@@ -35,7 +35,7 @@ def Add_Chain():
##Adds Empty to scene
##Adds Empty to scene
bpy
.
ops
.
object
.
add
(
type
=
'
EMPTY
'
,
view_align
=
False
,
enter_editmode
=
False
,
location
=
(
0
,
0
,
0
),
bpy
.
ops
.
object
.
add
(
type
=
'
EMPTY
'
,
view_align
=
False
,
enter_editmode
=
False
,
location
=
(
0
,
0
,
0
),
rotation
=
(
0
,
0
,
0
),
layer
=
(
True
,
False
,
False
,
False
,
False
,
False
,
rotation
=
(
0
,
0
,
0
),
layer
s
=
(
True
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
))
False
))
...
@@ -48,7 +48,7 @@ False))
...
@@ -48,7 +48,7 @@ False))
##Adds Curve Path to scene
##Adds Curve Path to scene
bpy
.
ops
.
curve
.
primitive_nurbs_path_add
(
view_align
=
False
,
enter_editmode
=
False
,
location
=
(
0
,
0
,
0
),
bpy
.
ops
.
curve
.
primitive_nurbs_path_add
(
view_align
=
False
,
enter_editmode
=
False
,
location
=
(
0
,
0
,
0
),
rotation
=
(
0
,
0
,
0
),
layer
=
(
True
,
False
,
False
,
False
,
False
,
False
,
rotation
=
(
0
,
0
,
0
),
layer
s
=
(
True
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
,
False
))
False
))
...
@@ -87,7 +87,7 @@ abso_minor_rad=0.5)
...
@@ -87,7 +87,7 @@ abso_minor_rad=0.5)
##Translate curve object
##Translate curve object
bpy
.
ops
.
transform
.
translate
(
value
=
(
2
,
0
,
0
),
constraint_axis
=
(
True
,
False
,
False
),
bpy
.
ops
.
transform
.
translate
(
value
=
(
2
,
0
,
0
),
constraint_axis
=
(
True
,
False
,
False
),
constraint_orientation
=
'
GLOBAL
'
,
mirror
=
False
,
proportional
=
'
DISABLED
'
,
constraint_orientation
=
'
GLOBAL
'
,
mirror
=
False
,
proportional
=
'
DISABLED
'
,
proportional_edit
ing
_falloff
=
'
SMOOTH
'
,
proportional_size
=
1
,
snap
=
False
,
proportional_edit_falloff
=
'
SMOOTH
'
,
proportional_size
=
1
,
snap
=
False
,
snap_target
=
'
CLOSEST
'
,
snap_point
=
(
0
,
0
,
0
),
snap_align
=
False
,
snap_normal
=
(
0
,
0
,
0
),
snap_target
=
'
CLOSEST
'
,
snap_point
=
(
0
,
0
,
0
),
snap_align
=
False
,
snap_normal
=
(
0
,
0
,
0
),
release_confirm
=
False
)
release_confirm
=
False
)
...
...
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