- aspectx wasnt saved in the render preset

- define a preset base class
- cleanup some comments and whitespace
This commit is contained in:
Campbell Barton
2009-11-21 23:55:14 +00:00
parent 7343de983e
commit 1dfbf3a9f6
9 changed files with 135 additions and 110 deletions

View File

@@ -51,11 +51,11 @@ def execute(context):
line = sc.history[-1].line
except:
return ('CANCELLED',)
bpy.ops.console.scrollback_append(text=sc.prompt + line, type='INPUT')
shell_run(line)
# insert a new blank line
bpy.ops.console.history_append(text="", current_character=0,
remove_duplicates=True)
@@ -72,7 +72,7 @@ def autocomplete(context):
def banner(context):
sc = context.space_data
shell_run("bash --version")
sc.prompt = os.getcwd()+PROMPT