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:
Thomas Goyne 2010-06-01 03:21:20 +00:00
parent 9e6454a798
commit da6c47c20b
1 changed files with 5 additions and 0 deletions

View File

@ -581,6 +581,11 @@ void VisualTool<FeatureType>::GetLineRotation(AssDialogue *diag,float &rx,float
// No dialogue
if (!diag) return;
AssStyle *style = VideoContext::Get()->grid->ass->GetStyle(diag->Style);
if (style) {
rz = style->angle;
}
// Prepare overrides
diag->ParseASSTags();
AssDialogueBlockOverride *override;