Fix reversed size value in metadata

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
2024-11-12 19:25:44 -07:00
parent 67b8f999c1
commit 9c77018a8d

View File

@@ -6,7 +6,7 @@ use BitmapMetadataHandler;
use Html;
class GlModelHandler extends ImageHandler {
private const GLMV_VERSION = '0.2';
private const GLMV_VERSION = '0.3';
/**
* Model cannot be displayed directly in a browser but can be rendered.
@@ -180,8 +180,8 @@ class GlModelHandler extends ImageHandler {
$metaHandler = new BitmapMetadataHandler;
$metaHandler->addMetadata($newMeta,'native');
return array(
'width' => 600,
'height' => 800,
'width' => 800,
'height' => 600,
'metadata' => $newMeta
);
}