Increase the block size, reduce the overhead.

This commit is contained in:
Andrzej Kapolka 2014-11-20 17:16:52 -08:00
parent 1e294e043b
commit f2f7335f58

View file

@ -792,7 +792,7 @@ void ImportHeightfieldTool::renderPreview() {
static_cast<Heightfield*>(_spanner.data())->getRenderer()->render();
}
const int HEIGHTFIELD_BLOCK_SIZE = 32;
const int HEIGHTFIELD_BLOCK_SIZE = 256;
void ImportHeightfieldTool::apply() {
AttributePointer attribute = AttributeRegistry::getInstance()->getAttribute(_editor->getSelectedAttribute());