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)
|
void PartInstance::postRender(RenderDevice *rd)
|
||||||
{
|
{
|
||||||
G3D::GFontRef fntdominant = NULL;
|
G3D::GFontRef fntdominant = NULL;
|
||||||
if(fntdominant != NULL)
|
if(fntdominant.notNull())
|
||||||
{
|
{
|
||||||
Vector3 gamepoint = cFrame.translation;
|
Vector3 gamepoint = cFrame.translation;
|
||||||
Vector3 camerapoint = rd->getCameraToWorldMatrix().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;
|
LPNMPROPGRID lpnmp = (LPNMPROPGRID)pnm;
|
||||||
LPPROPGRIDITEM item = PropGrid_GetItemData(pnm->hwndFrom,lpnmp->iIndex);
|
LPPROPGRIDITEM item = PropGrid_GetItemData(pnm->hwndFrom,lpnmp->iIndex);
|
||||||
selectedInstance->PropUpdate(item);
|
selectedInstance->PropUpdate(item);
|
||||||
propWind->SetProperties(selectedInstance);
|
//propWind->SetProperties(selectedInstance);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user