crop_right.Value = GetCropMod2Clean(_SourceTitle.AutoCropDimensions[3]);\r
\r
// Set the Resolution Boxes\r
- text_width.Value = _SourceTitle.Resolution.Width;\r
-\r
if (drp_anamorphic.SelectedIndex == 0)\r
{\r
- int width = _SourceTitle.Resolution.Width;\r
-\r
- double crop_width = _SourceTitle.Resolution.Width - (double)crop_left.Value - (double)crop_right.Value;\r
- double crop_height = _SourceTitle.Resolution.Height - (double)crop_top.Value - (double)crop_bottom.Value;\r
- double newHeight = (width * _SourceTitle.Resolution.Width * sourceAspect.Height * crop_height) / (_SourceTitle.Resolution.Height * sourceAspect.Width * crop_width);\r
- text_height.Value = (decimal)GetModulusValue(newHeight);\r
+ if (text_width.Value == 0) // Only update the values if the fields don't already have values.\r
+ text_width.Value = _SourceTitle.Resolution.Width;\r
+ \r
+ check_KeepAR.Checked = true; // Forces Resolution to be correct.\r
}\r
else\r
{\r
updownParWidth.Value = _SourceTitle.ParVal.Width;\r
updownParHeight.Value = _SourceTitle.ParVal.Height;\r
updownDisplayWidth.Value = calculateAnamorphicSizes().Width;\r
-\r
}\r
}\r
\r