Skip to content

Springkyannap2026#8

Open
kyannap02 wants to merge 38 commits into
PKhant78:mainfrom
kyannap02:springkyannap2026
Open

Springkyannap2026#8
kyannap02 wants to merge 38 commits into
PKhant78:mainfrom
kyannap02:springkyannap2026

Conversation

@kyannap02

Copy link
Copy Markdown

1st attempt:

# File Fix
1 BuildingSystem.cs:SelectObject() Calls objectToPlace.UpdateState(false, true) to reset Placed = false so the object can be freely moved again, and guards against duplicate ObjectDrag components
2 BuildingSystem.cs:InitializeWithObject() Changed unhighlightButtons()highlightButtons() so placement UI shows when adding a new object
3 PlaceableObject.cs:CalculateSizeInCells() Changed vertices[i]Vertices[i] so grid size is calculated from actual collider corners, not all zeros

Acamerus and others added 30 commits April 22, 2025 02:00
Chaniel Merge 4/24
Merge 4/24
This reverts commit ae0ce23, reversing
changes made to a777740.
Early commit to be able to clone during class on laptop
9 errors (mostly simple fixes)
SDK issue with firebase need to reinstall likely
chanielm and others added 8 commits May 15, 2025 13:00
- Reset Placed flag when re-selecting a placed object so it can be
  freely moved before re-confirming placement (prevents double-click
  from immediately re-firing Place() and destroying ObjectDrag)
- Guard against duplicate ObjectDrag components on repeated clicks
- Show placement UI (highlightButtons) when initializing a new object
- Fix CalculateSizeInCells using local zeros instead of Vertices array,
  causing TakeArea/UnfillArea to always operate on a 0x0 grid area

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The Vertices[i] fix made CanBePlaced check real grid tiles for the
first time, blocking placement against pre-existing tilemap tiles.
Reverting to vertices[i] restores the original placement behavior
while the core editing bug fixes remain intact.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fixed issue issue that didnt allow user to double click object and reselect objects for deletion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants