cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28411 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d9e3b747bf
commit
f2a5c5714d
@ -295,15 +295,15 @@ ObjectView::MessageReceived(BMessage* msg)
|
||||
bool toggleItem = false;
|
||||
|
||||
switch (msg->what) {
|
||||
case kMsgFPS:
|
||||
fFps = (fFps) ? false : true;
|
||||
case kMsgFPS:
|
||||
fFps = (fFps) ? false : true;
|
||||
msg->FindPointer("source", reinterpret_cast<void**>(&item));
|
||||
item->SetMarked(fFps);
|
||||
fForceRedraw = true;
|
||||
setEvent(drawEvent);
|
||||
break;
|
||||
case kMsgAddModel:
|
||||
fObjListLock.Lock();
|
||||
case kMsgAddModel:
|
||||
fObjListLock.Lock();
|
||||
fObjects.AddItem(new TriangleObject(this, teapotPath));
|
||||
fObjListLock.Unlock();
|
||||
setEvent(drawEvent);
|
||||
|
Loading…
Reference in New Issue
Block a user