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
b7438b8a
Commit
b7438b8a
authored
6 years ago
by
meta-androcto
Browse files
Options
Downloads
Patches
Plain Diff
add_mesh_geodesic_domes: Fix for ctest: script_load_addons fails: T66156
parent
2ba08390
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
add_mesh_geodesic_domes/__init__.py
+1
-1
1 addition, 1 deletion
add_mesh_geodesic_domes/__init__.py
add_mesh_geodesic_domes/add_shape_geodesic.py
+4
-4
4 additions, 4 deletions
add_mesh_geodesic_domes/add_shape_geodesic.py
with
5 additions
and
5 deletions
add_mesh_geodesic_domes/__init__.py
+
1
−
1
View file @
b7438b8a
...
@@ -190,7 +190,7 @@ def menu_func(self, context):
...
@@ -190,7 +190,7 @@ def menu_func(self, context):
# Register
# Register
classes
=
[
classes
=
[
add_shape_geodesic
.
add_
corrective_
pose_shape_fast
,
add_shape_geodesic
.
add_pose_shape_fast
,
third_domes_panel_271
.
GenerateGeodesicDome
,
third_domes_panel_271
.
GenerateGeodesicDome
,
third_domes_panel_271
.
DialogOperator
,
third_domes_panel_271
.
DialogOperator
,
]
]
...
...
This diff is collapsed.
Click to expand it.
add_mesh_geodesic_domes/add_shape_geodesic.py
+
4
−
4
View file @
b7438b8a
...
@@ -7,7 +7,7 @@ def reset_transform(ob):
...
@@ -7,7 +7,7 @@ def reset_transform(ob):
ob
.
matrix_local
=
m
ob
.
matrix_local
=
m
def
func_add_
corrective_
pose_shape_fast
(
source
,
target
):
def
func_add_pose_shape_fast
(
source
,
target
):
result
=
""
result
=
""
reset_transform
(
target
)
reset_transform
(
target
)
# If target object doesn't have Basis shape key, create it.
# If target object doesn't have Basis shape key, create it.
...
@@ -67,8 +67,8 @@ def func_add_corrective_pose_shape_fast(source, target):
...
@@ -67,8 +67,8 @@ def func_add_corrective_pose_shape_fast(source, target):
return
result
return
result
class
add_
corrective_
pose_shape_fast
(
bpy
.
types
.
Operator
):
class
add_pose_shape_fast
(
bpy
.
types
.
Operator
):
bl_idname
=
"
object.add_
corrective_
pose_shape_fast
"
bl_idname
=
"
object.add_pose_shape_fast
"
bl_label
=
"
Add object as corrective shape faster
"
bl_label
=
"
Add object as corrective shape faster
"
bl_description
=
"
Adds 1st object as shape to 2nd object as pose shape (only 1 armature)
"
bl_description
=
"
Adds 1st object as shape to 2nd object as pose shape (only 1 armature)
"
...
@@ -90,6 +90,6 @@ class add_corrective_pose_shape_fast(bpy.types.Operator):
...
@@ -90,6 +90,6 @@ class add_corrective_pose_shape_fast(bpy.types.Operator):
source
=
selection
[
0
]
source
=
selection
[
0
]
print
(
source
)
print
(
source
)
print
(
target
)
print
(
target
)
func_add_
corrective_
pose_shape_fast
(
source
,
target
)
func_add_pose_shape_fast
(
source
,
target
)
return
{
'
FINISHED
'
}
return
{
'
FINISHED
'
}
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