Storyboard cast: a character with candidates drawn says so
This commit is contained in:
parent
b59d12c289
commit
0b9de99303
1 changed files with 3 additions and 2 deletions
|
|
@ -996,7 +996,8 @@
|
|||
return '<li>' + esc(x) + '</li>'; }).join("") + '</ul></div>'
|
||||
: "";
|
||||
|
||||
var faceless = cast.filter(function (c) { return !c.head_url && c.id !== "Narrator" && !/no visible body/i.test(c.appearance || ""); }).length;
|
||||
var faceless = cast.filter(function (c) { return !c.head_url && c.id !== "Narrator" && !/no visible body/i.test(c.appearance || "")
|
||||
&& !((c.look_candidates || {}).items || []).length; }).length;
|
||||
var castBar = faceless
|
||||
? '<p class="tiny" style="margin:6px 0 8px">' + faceless + ' of the cast have no face yet - the reference sheets are drawn with the first picture. '
|
||||
+ (PKG.cast_state ? '<b>Drawing the cast…</b>' : '<button type="button" class="btn small" data-drawcast="' + esc(draft.id) + '">Draw the cast now</button> (about $' + (faceless * 4 * 0.068).toFixed(2) + ', no shots, no video)') + '</p>'
|
||||
|
|
@ -1006,7 +1007,7 @@
|
|||
var sheets = c.head_url
|
||||
? '<div class="sheets"><img data-zoom="' + esc(nm + " — the face every picture is drawn from")
|
||||
+ '" src="' + esc(c.head_url) + '" alt=""></div>'
|
||||
: (c.id !== "Narrator" && !/no visible body/i.test(c.appearance || "") ? '<div class="sheets tiny" style="color:var(--muted)">no face drawn yet</div>' : '');
|
||||
: (c.id !== "Narrator" && !/no visible body/i.test(c.appearance || "") ? '<div class="sheets tiny" style="color:var(--muted)">' + (((c.look_candidates || {}).items || []).length ? 'candidates drawn - choose one' : 'no face drawn yet') + '</div>' : '');
|
||||
return '<div class="ch">' + sheets + '<b>' + esc(nm) + '</b>'
|
||||
+ '<span class="vo">' + esc(c.role || "") + (c.voice_id ? " · voiced" : " · silent")
|
||||
+ '</span><div class="ap">' + esc((c.appearance || "").slice(0, 150)) + '</div>'
|
||||
|
|
|
|||
Loading…
Reference in a new issue