Fixed issue "Not all length of curves visible".
--HG-- branch : develop
This commit is contained in:
parent
9c0f5f2fa4
commit
f7736d3bfd
|
@ -68,6 +68,11 @@ VCurveVariable::~VCurveVariable()
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
bool VCurveVariable::Filter(quint32 id)
|
bool VCurveVariable::Filter(quint32 id)
|
||||||
{
|
{
|
||||||
|
if (id == NULL_ID)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (d->parentId != NULL_ID)//Do not check if value zero
|
if (d->parentId != NULL_ID)//Do not check if value zero
|
||||||
{// Not all curves have parents. Only those who was created after cutting the parent curve.
|
{// Not all curves have parents. Only those who was created after cutting the parent curve.
|
||||||
return d->id == id || d->parentId == id;
|
return d->id == id || d->parentId == id;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user