Fixed 'use zoom and rotation settings when exporting';

Fixed: enabled was not used for default symbol in symbol font;

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@640 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-08-28 22:35:49 +00:00
parent 6dceccd6cb
commit 790e55a35c
6 changed files with 33 additions and 13 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ Context& SetScriptContext::getContext(const CardP& card) {
ctx.setVariable(_("card"), to_script(card));
ctx.setVariable(_("styling"), to_script(&set.stylingDataFor(card)));
} else {
ctx.setVariable(_("card"), ScriptValueP());
ctx.setVariable(_("card"), script_nil);
ctx.setVariable(_("styling"), to_script(&set.stylingDataFor(*stylesheet)));
}
return ctx;