mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +02:00
Fixed magic number
This commit is contained in:
parent
447d9a65ce
commit
12459079e9
1 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@
|
|||
#include "OctalCode.h"
|
||||
#include "PacketHeaders.h"
|
||||
#include "SharedUtil.h"
|
||||
#include "SquarePixelMap.h"
|
||||
#include "Tags.h"
|
||||
#include "ViewFrustum.h"
|
||||
#include "VoxelConstants.h"
|
||||
|
@ -1591,7 +1590,7 @@ bool VoxelTree::readFromSquareARGB32Pixels(const char* filename) {
|
|||
emit importSize(1.0f, 1.0f, 1.0f);
|
||||
emit importProgress(0);
|
||||
|
||||
int minAlpha = 256;
|
||||
int minAlpha = INT_MAX;
|
||||
|
||||
QImage pngImage = QImage(filename);
|
||||
|
||||
|
|
Loading…
Reference in a new issue