code cleanup: minor improvements to scripts.

- make wm-property operators use INTERNAL option.
- make console use str.expandtabs() rather then replacing tab->spaces.
This commit is contained in:
2013-04-20 13:23:53 +00:00
parent a76ad2cdad
commit 44d3d88f9a
7 changed files with 13 additions and 17 deletions

View File

@@ -126,10 +126,7 @@ class SequencerDeinterlaceSelectedMovies(Operator):
@classmethod
def poll(cls, context):
if context.scene and context.scene.sequence_editor:
return True
else:
return False
return (context.scene and context.scene.sequence_editor)
def execute(self, context):
for s in context.scene.sequence_editor.sequences_all: