Page 1 of 1

Bug in Editor Interface

PostPosted: 08 Feb 2017, 05:04
by Ben
When you select an item that can be placed on the map-- say a building-- you can detach it from the cursor by right-clicking on the map. This works with almost all tools/items, but there is an oddity with the "map revealer" item and the "center screen" item. If you right click with either of these selected, the item will indeed detach from the cursor. The oddity comes when you try to re-select the tool. The first time you click the icon, it will take the "focus" off it. The second time you click it, the item is selected. This is because the interface believes you still have the item selected when you right click on the map. When you go to select the item again, the interface believes you want to deselect it. With all other items that I could find (buildings, units, etc.) this doesn't happen, as selecting a item that has "focus" on it merely selects the item anyway.

Yes, this is a very small bug, and perhaps I explained it rather poorly, too. Still, it's been bugging me for quite some time and thought that I would mention it.

Re: Bug in Editor Interface

PostPosted: 08 Feb 2017, 13:50
by thunder
So simply wanted to say you are working on new stuffs and the community will be happy very soon with new Ben's creation, true? :D :mrgreen:

Re: Bug in Editor Interface

PostPosted: 08 Feb 2017, 16:11
by Ben
Nope

Re: Bug in Editor Interface

PostPosted: 09 Feb 2017, 04:10
by Rey
Thanks again, Ben.
Just fixed it: https://github.com/Kromster80/kam_remake/pull/242
Same bug was actually happen for "ai defence position" and "ai start" markers.

Also this visual bug with reveal circle fixed:
Image

Re: Bug in Editor Interface

PostPosted: 09 Feb 2017, 18:12
by Ben
Excellent, thank you.

Re: Bug in Editor Interface

PostPosted: 10 Feb 2017, 22:57
by Rey
Well, we actually have similar thing when placing units/houses/roads/fields/tile brushes/tile objects - after RBM click they are still selected, even if you can't use them actually.
Think we have to fix all this too.