When want to add Image on object-layer, the mouse-pointer not change to "translucent-selected-image" #537

Closed
finscn opened this Issue Oct 1, 2013 · 5 comments

Comments

3 participants
@finscn

finscn commented Oct 1, 2013

When want to add Image on object-layer, the mouse-pointer not change to "translucent-selected-image".

in tile-layer edit mode, the mouse point will changed to translucent-selected-tile.

@bjorn

This comment has been minimized.

Show comment
Hide comment
@bjorn

bjorn Oct 1, 2013

Owner

Yep, would be nice if the tile object tool would allow showing a preview as well.

Owner

bjorn commented Oct 1, 2013

Yep, would be nice if the tile object tool would allow showing a preview as well.

@MichaelAquilina

This comment has been minimized.

Show comment
Hide comment
@MichaelAquilina

MichaelAquilina Jan 25, 2014

Contributor

Hi, if you explain to me what the problem is exactly - i'd like to have a go at fixing this one.

Contributor

MichaelAquilina commented Jan 25, 2014

Hi, if you explain to me what the problem is exactly - i'd like to have a go at fixing this one.

@bjorn

This comment has been minimized.

Show comment
Hide comment
@bjorn

bjorn Jan 28, 2014

Owner

@KillaW0lf04 When you are placing tiles on a tile layer, the all tools (stamp brush, fill tool, eraser) show a preview of the affected area before you actually perform the operation. In contrast, the object creation tools don't do this, but it would be useful for the tile object tool to do this as well. It could then also place the objects on press rather than waiting for a release, since the user will have already decided exactly where to place it beforehand.

Owner

bjorn commented Jan 28, 2014

@KillaW0lf04 When you are placing tiles on a tile layer, the all tools (stamp brush, fill tool, eraser) show a preview of the affected area before you actually perform the operation. In contrast, the object creation tools don't do this, but it would be useful for the tile object tool to do this as well. It could then also place the objects on press rather than waiting for a release, since the user will have already decided exactly where to place it beforehand.

@bjorn

This comment has been minimized.

Show comment
Hide comment
@bjorn

bjorn Mar 14, 2018

Owner

This issue came up on the forum just now. I've decided to put this on the roadmap for Tiled 1.2.

Owner

bjorn commented Mar 14, 2018

This issue came up on the forum just now. I've decided to put this on the roadmap for Tiled 1.2.

@bjorn bjorn closed this in 3b8ba96 Jul 9, 2018

Roadmap automation moved this from Tiled 1.2 (next feature release) to Recently Completed Jul 9, 2018

@bjorn

This comment has been minimized.

Show comment
Hide comment
@bjorn

bjorn Jul 9, 2018

Owner

After simplifying memory management (bde9c3a) and the set of virtual functions (7ff97ea) I've finally done a shot at implementing this functionality (3b8ba96).

Will be available in the next snapshot, but before I publish that I'd like to perform further testing, since I'm sure there are still some edge-cases I didn't deal with yet (like changing current layer or selected tile while hovering).

Owner

bjorn commented Jul 9, 2018

After simplifying memory management (bde9c3a) and the set of virtual functions (7ff97ea) I've finally done a shot at implementing this functionality (3b8ba96).

Will be available in the next snapshot, but before I publish that I'd like to perform further testing, since I'm sure there are still some edge-cases I didn't deal with yet (like changing current layer or selected tile while hovering).

bjorn added a commit that referenced this issue Jul 13, 2018

Create Object Tools: Fixed various issues
These are mostly issues that became apparent after the tools were
changed to show a preview on hover.

* Remove object preview when current layer changes results in object
  placement not being available (hidden or locked layer).

* Synchronize on changes to object group offset and color.

* Don't create preview for locked layers (even better may be to draw a
  red-colored preview).

* Fixed snapping of initial position for scalable objects.

* Fixed modifiers passed in mouseMoved when tool gets enabled.

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