New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new point to Polyline or Poligon object. #157

Closed
NinjaFighter opened this Issue Feb 13, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@NinjaFighter

NinjaFighter commented Feb 13, 2012

I cannot figure how to add points to polyline or poligon objects. (is it possible?)
Could be great if I could do a left click, over the line, and selecting an "Add a New Point" option.
Nowadays, I open the TMX file with notepad++ and add points manually when I need that.

@bjorn

This comment has been minimized.

Show comment
Hide comment
@bjorn

bjorn Feb 13, 2012

Owner

Currently it's only possible by selecting at least two neighboring points and choosing "split segments" from the right-click menu.

Owner

bjorn commented Feb 13, 2012

Currently it's only possible by selecting at least two neighboring points and choosing "split segments" from the right-click menu.

@NinjaFighter

This comment has been minimized.

Show comment
Hide comment
@NinjaFighter

NinjaFighter Feb 13, 2012

Thanks, I understand now.
I think could be great, if I can select two points only clicking the line, but it is a fairly trivial detail.

NinjaFighter commented Feb 13, 2012

Thanks, I understand now.
I think could be great, if I can select two points only clicking the line, but it is a fairly trivial detail.

@bjorn bjorn referenced this issue Mar 15, 2017

Open

Polygon editing tool improvements #1487

3 of 5 tasks complete

ketanhwr added a commit to ketanhwr/tiled that referenced this issue Aug 6, 2017

Adds option to Extend Polyline (bjorn#157)
Extending can be started from both first point and last point. Escape and Delete Key can be used to cancel the extending.

@ketanhwr ketanhwr referenced this issue Aug 11, 2017

Merged

Allows extending of the polyline #1683

1 of 1 task complete

bjorn added a commit that referenced this issue Jan 16, 2018

Allows extending of the polyline (#1683)
Extending can be done by right-clicking the nodes on either end of a polyline.

Implementation finished by @bjorn:
* Fixed new polylines being drawn backwards after extending first
* Fixed extending polyline other than the one just created
* Enabled switching between tools using the ToolManager
* Fixed behavior when switching tools while extending a polyline

The selection is cleared while extending a polyline. There shouldn't 
actually be a reason to touch the selection at all, but currently the
selection outline does not update as expected while extending a
polyline.

Issue #157.

bjorn added a commit that referenced this issue Jan 19, 2018

Edit Polygons: Implemented interaction with segments
* You can now select two handles of a segment by clicking the segment
* Context menu also works on segments
* You can drag a segment directly to move the two segments

Issue #157

@bjorn bjorn closed this in 3b99820 Jan 19, 2018

@bjorn

This comment has been minimized.

Show comment
Hide comment
@bjorn

bjorn Jan 19, 2018

Owner

Better late than never (in truth, somebody stepped up to sponsor this improvement!): Double-clicking a segment now insert a new point at the clicked location, and you can immediately drag the new point to where you want it. I think it's a great improvement in usability.

The old "Split Segments" menu action remains available, mainly since it allows quickly splitting many segments, if you wanted that.

I think could be great, if I can select two points only clicking the line, but it is a fairly trivial detail.

That's also implemented now. :-)

Owner

bjorn commented Jan 19, 2018

Better late than never (in truth, somebody stepped up to sponsor this improvement!): Double-clicking a segment now insert a new point at the clicked location, and you can immediately drag the new point to where you want it. I think it's a great improvement in usability.

The old "Split Segments" menu action remains available, mainly since it allows quickly splitting many segments, if you wanted that.

I think could be great, if I can select two points only clicking the line, but it is a fairly trivial detail.

That's also implemented now. :-)

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