forked from mia/Aegisub
Load rotation from a line's style when it's not set by an override tag.
Originally committed to SVN as r4387.
This commit is contained in:
parent
9e6454a798
commit
da6c47c20b
1 changed files with 5 additions and 0 deletions
|
@ -581,6 +581,11 @@ void VisualTool<FeatureType>::GetLineRotation(AssDialogue *diag,float &rx,float
|
||||||
// No dialogue
|
// No dialogue
|
||||||
if (!diag) return;
|
if (!diag) return;
|
||||||
|
|
||||||
|
AssStyle *style = VideoContext::Get()->grid->ass->GetStyle(diag->Style);
|
||||||
|
if (style) {
|
||||||
|
rz = style->angle;
|
||||||
|
}
|
||||||
|
|
||||||
// Prepare overrides
|
// Prepare overrides
|
||||||
diag->ParseASSTags();
|
diag->ParseASSTags();
|
||||||
AssDialogueBlockOverride *override;
|
AssDialogueBlockOverride *override;
|
||||||
|
|
Loading…
Reference in a new issue