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
8b80d24d
Commit
8b80d24d
authored
9 years ago
by
Campbell Barton
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup: remove unused operator args
parent
c3e0380a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
io_shape_mdd/__init__.py
+2
-2
2 additions, 2 deletions
io_shape_mdd/__init__.py
io_shape_mdd/export_mdd.py
+1
-1
1 addition, 1 deletion
io_shape_mdd/export_mdd.py
io_shape_mdd/import_mdd.py
+1
-1
1 addition, 1 deletion
io_shape_mdd/import_mdd.py
with
4 additions
and
4 deletions
io_shape_mdd/__init__.py
+
2
−
2
View file @
8b80d24d
...
...
@@ -82,7 +82,7 @@ class ImportMDD(bpy.types.Operator, ImportHelper):
keywords
=
self
.
as_keywords
(
ignore
=
(
"
filter_glob
"
,))
from
.
import
import_mdd
return
import_mdd
.
load
(
self
,
context
,
**
keywords
)
return
import_mdd
.
load
(
context
,
**
keywords
)
class
ExportMDD
(
bpy
.
types
.
Operator
,
ExportHelper
):
...
...
@@ -138,7 +138,7 @@ class ExportMDD(bpy.types.Operator, ExportHelper):
keywords
=
self
.
as_keywords
(
ignore
=
(
"
check_existing
"
,
"
filter_glob
"
))
from
.
import
export_mdd
return
export_mdd
.
save
(
self
,
context
,
**
keywords
)
return
export_mdd
.
save
(
context
,
**
keywords
)
def
menu_func_import
(
self
,
context
):
...
...
This diff is collapsed.
Click to expand it.
io_shape_mdd/export_mdd.py
+
1
−
1
View file @
8b80d24d
...
...
@@ -51,7 +51,7 @@ def check_vertcount(mesh, vertcount):
raise
Exception
(
'
Error, number of verts has changed during animation, cannot export
'
)
def
save
(
operator
,
context
,
filepath
=
""
,
frame_start
=
1
,
frame_end
=
300
,
fps
=
25.0
):
def
save
(
context
,
filepath
=
""
,
frame_start
=
1
,
frame_end
=
300
,
fps
=
25.0
):
"""
Blender.Window.WaitCursor(1)
...
...
This diff is collapsed.
Click to expand it.
io_shape_mdd/import_mdd.py
+
1
−
1
View file @
8b80d24d
...
...
@@ -80,7 +80,7 @@ def obj_update_frame(file, scene, obj, start, fr, step):
obj
.
data
.
update
()
def
load
(
operator
,
context
,
filepath
,
frame_start
=
0
,
frame_step
=
1
):
def
load
(
context
,
filepath
,
frame_start
=
0
,
frame_step
=
1
):
scene
=
context
.
scene
obj
=
context
.
object
...
...
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