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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons-contrib
Commits
f863a6f6
Commit
f863a6f6
authored
8 years ago
by
Eugenio Pignataro
Browse files
Options
Downloads
Patches
Plain Diff
now you can make a linked group local without select it from list
parent
85e50368
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
oscurart_mesh_cache_tools.py
+1
-12
1 addition, 12 deletions
oscurart_mesh_cache_tools.py
with
1 addition
and
12 deletions
oscurart_mesh_cache_tools.py
+
1
−
12
View file @
f863a6f6
...
...
@@ -294,14 +294,7 @@ def OscLinkedGroupToLocal():
for
ob
in
GROBJS
:
NEWGROUP
.
objects
.
link
(
ob
)
NEWOBJ
.
append
(
ob
)
"""
for ob in NEWOBJ:
if ob.type ==
"
MESH
"
:
if len(ob.modifiers):
for MODIFIER in ob.modifiers[:]:
if MODIFIER.type ==
"
SUBSURF
"
or MODIFIER.type ==
"
MASK
"
:
ob.modifiers.remove(MODIFIER)
"""
class
OscGroupLinkedToLocal
(
bpy
.
types
.
Operator
):
bl_idname
=
"
group.linked_group_to_local
"
...
...
@@ -309,10 +302,6 @@ class OscGroupLinkedToLocal(bpy.types.Operator):
bl_description
=
"
Group Linked To Local
"
bl_options
=
{
'
REGISTER
'
,
'
UNDO
'
}
@classmethod
def
poll
(
cls
,
context
):
return
(
bpy
.
context
.
scene
.
pc_pc2_group
!=
""
)
def
execute
(
self
,
context
):
OscLinkedGroupToLocal
()
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