Fix reversed size value in metadata
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user