Skip to content

PolygonTrigger::ParsePolygonTriggersDataChunk rejects point shapes, but not line shapes #3259

Description

@xezon

What is a line trigger good for? Does it do anything?

Bool PolygonTrigger::ParsePolygonTriggersDataChunk(DataChunkInput &file, DataChunkInfo *info, void *userData)
{
...
		if (numPoints<2) { // Why not < 3 ?
			DEBUG_LOG(("Deleting polygon trigger '%s' with %d points.",
					pTrig->getTriggerName().str(), numPoints));
			deleteInstance(pTrig);
			continue;
		}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facingInvestigateMinorSeverity: Minor < Major < Critical < Blocker

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions