mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 09:25:31 +02:00
remove temp code
This commit is contained in:
parent
8269e01474
commit
194541b2d0
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
const float METERS_TO_INCHES = 39.3701f;
|
||||
static uint32_t _currentWebCount { 0 };
|
||||
// Don't allow more than 100 concurrent web views
|
||||
static const uint32_t MAX_CONCURRENT_WEB_VIEWS = 0;
|
||||
static const uint32_t MAX_CONCURRENT_WEB_VIEWS = 20;
|
||||
// If a web-view hasn't been rendered for 30 seconds, de-allocate the framebuffer
|
||||
static uint64_t MAX_NO_RENDER_INTERVAL = 30 * USECS_PER_SECOND;
|
||||
|
||||
|
@ -71,7 +71,7 @@ RenderableWebEntityItem::~RenderableWebEntityItem() {
|
|||
|
||||
bool RenderableWebEntityItem::buildWebSurface(QSharedPointer<EntityTreeRenderer> renderer) {
|
||||
if (_currentWebCount >= MAX_CONCURRENT_WEB_VIEWS) {
|
||||
//qWarning() << "Too many concurrent web views to create new view";
|
||||
qWarning() << "Too many concurrent web views to create new view";
|
||||
return false;
|
||||
}
|
||||
QString javaScriptToInject;
|
||||
|
|
Loading…
Reference in a new issue