mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 12:10:44 +02:00
fix windows warning and change QByteArray initializer to match documented prototype
This commit is contained in:
parent
04772f6e5d
commit
95a63cf131
1 changed files with 1 additions and 1 deletions
|
@ -1022,7 +1022,7 @@ void ImportHeightfieldTool::apply() {
|
|||
|
||||
QByteArray color;
|
||||
if (buffer->getColor().isEmpty()) {
|
||||
const int WHITE_VALUE = 0xFF;
|
||||
const char WHITE_VALUE = 0xFF;
|
||||
color = QByteArray(height.size() * DataBlock::COLOR_BYTES, WHITE_VALUE);
|
||||
} else {
|
||||
color = buffer->getUnextendedColor();
|
||||
|
|
Loading…
Reference in a new issue