render settings dialog: always preserve the crop window
parent
6f81b5623b
commit
480e3eb9d5
|
@ -106,7 +106,6 @@ SceneHandler::SceneHandler(const SAXParser *parser,
|
|||
m_tags["include"] = TagEntry(EInclude, (Class *) NULL);
|
||||
m_tags["alias"] = TagEntry(EAlias, (Class *) NULL);
|
||||
|
||||
|
||||
XMLTransService::Codes failReason;
|
||||
m_transcoder = XMLPlatformUtils::fgTransService->makeNewTranscoderFor(
|
||||
"UTF-8", failReason, TRANSCODE_BLOCKSIZE);
|
||||
|
|
|
@ -385,7 +385,7 @@ void RenderSettingsDialog::apply(SceneContext *ctx) {
|
|||
filmProps.setInteger("width", size.x, false);
|
||||
filmProps.setInteger("height", size.y, false);
|
||||
|
||||
if (size.x != cropSize.x || size.y != cropSize.y) {
|
||||
if (size.x != cropSize.x || size.y != cropSize.y || cropOffset.x != 0 || cropOffset.y != 0) {
|
||||
filmProps.setInteger("cropWidth", cropSize.x, false);
|
||||
filmProps.setInteger("cropHeight", cropSize.y, false);
|
||||
filmProps.setInteger("cropOffsetX", cropOffset.x, false);
|
||||
|
|
Loading…
Reference in New Issue