Fixed properties
This commit is contained in:
@@ -28,7 +28,7 @@ PartInstance::PartInstance(void) : _bevelSize(0.03f), _parseVert(0), _debugTimer
|
||||
void PartInstance::postRender(RenderDevice *rd)
|
||||
{
|
||||
G3D::GFontRef fntdominant = NULL;
|
||||
if(fntdominant != NULL)
|
||||
if(fntdominant.notNull())
|
||||
{
|
||||
Vector3 gamepoint = cFrame.translation;
|
||||
Vector3 camerapoint = rd->getCameraToWorldMatrix().translation;
|
||||
|
||||
@@ -164,7 +164,7 @@ LRESULT CALLBACK PropProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
LPNMPROPGRID lpnmp = (LPNMPROPGRID)pnm;
|
||||
LPPROPGRIDITEM item = PropGrid_GetItemData(pnm->hwndFrom,lpnmp->iIndex);
|
||||
selectedInstance->PropUpdate(item);
|
||||
propWind->SetProperties(selectedInstance);
|
||||
//propWind->SetProperties(selectedInstance);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user