Fixed: Some files in object viewer missing dot comma after nlassert(...).
This commit is contained in:
parent
541f678317
commit
2c741d1e76
3 changed files with 3 additions and 3 deletions
|
@ -198,7 +198,7 @@ public:
|
||||||
Scheme->setValues(tab, Scheme->getNumValues() - 1, Scheme->getNumStages());
|
Scheme->setValues(tab, Scheme->getNumValues() - 1, Scheme->getNumStages());
|
||||||
break;
|
break;
|
||||||
case IValueGradientDlgClient::Up:
|
case IValueGradientDlgClient::Up:
|
||||||
nlassert(index > 0)
|
nlassert(index > 0);
|
||||||
std::swap(tab[index], tab[index - 1]);
|
std::swap(tab[index], tab[index - 1]);
|
||||||
Scheme->setValues(tab, Scheme->getNumValues(), Scheme->getNumStages());
|
Scheme->setValues(tab, Scheme->getNumValues(), Scheme->getNumStages());
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -346,7 +346,7 @@ void CurveEdit::drawUnits(CDC &dc)
|
||||||
sint upVal = (sint) floorf(coordsFromScreen(0, _X).Value);
|
sint upVal = (sint) floorf(coordsFromScreen(0, _X).Value);
|
||||||
sint downVal = (sint) floorf(coordsFromScreen(0, _X + _Width).Value);
|
sint downVal = (sint) floorf(coordsFromScreen(0, _X + _Width).Value);
|
||||||
|
|
||||||
nlassert(upVal >= downVal)
|
nlassert(upVal >= downVal);
|
||||||
for (sint k = downVal ; k <= upVal ; ++k)
|
for (sint k = downVal ; k <= upVal ; ++k)
|
||||||
{
|
{
|
||||||
CGdiObject *oldPen = dc.SelectObject(&pens[k == 0 ? 1 : 0]);
|
CGdiObject *oldPen = dc.SelectObject(&pens[k == 0 ? 1 : 0]);
|
||||||
|
|
|
@ -39,7 +39,7 @@ CMultiTexDlg::CMultiTexDlg(CParticleWorkspace::CNode *ownerNode, NL3D::CPSMultiT
|
||||||
_MainTexDlg(NULL), _AltTexDlg(NULL),
|
_MainTexDlg(NULL), _AltTexDlg(NULL),
|
||||||
_PN(pn)
|
_PN(pn)
|
||||||
{
|
{
|
||||||
nlassert(_MTP)
|
nlassert(_MTP);
|
||||||
//{{AFX_DATA_INIT(CMultiTexDlg)
|
//{{AFX_DATA_INIT(CMultiTexDlg)
|
||||||
m_ForceBasicCaps = NL3D::CPSMultiTexturedParticle::areBasicCapsForced();
|
m_ForceBasicCaps = NL3D::CPSMultiTexturedParticle::areBasicCapsForced();
|
||||||
m_UseParticleDateAlt = _MTP->getUseLocalDateAlt();
|
m_UseParticleDateAlt = _MTP->getUseLocalDateAlt();
|
||||||
|
|
Loading…
Reference in a new issue