limoka / DSP-Mods

An example how to add a custom model with your mesh and animations
MIT License
32 stars 11 forks source link

[BUG] - Mirroring blueprint escapes the blueprint box. #60

Closed NBKRedSpy closed 9 months ago

NBKRedSpy commented 1 year ago

Update: Updated Reproduction steps. Workaround: Don't press Shift+R. Just use R if rotating.

Describe the bug When in the "place blueprint" mode, pressing Shift+T will cause the blueprint to be offset outside of the blue placement UI.

** Versions DSP: 0.9.27.15033 Mod version: 1.5.7

To Reproduce Steps to reproduce the behavior:

  1. Go to blue prints (0)
  2. Double click a blueprint
  3. Press Shift+R (not just R)
  4. Press Shift+t

Result: The ghost buildings will be outside of the blue placement box. I think it is relative to the anchor point.

Expected behavior Expected the flipped blueprint to stay int he blueprint box.

User impact: For very large placements, this requires the user to zoom out enough to have the mouse on the original blue box and to still have the actual placement estimate on the screen.

Log files I don't see any log files in BepInEx folder. I'm launching through r2modman, so maybe related? I searched the r2modman install dir and didn't find any there.

Screenshots

BlueprintEscape
NBKRedSpy commented 1 year ago

Update: Keeping for more info, but found how to reproduce.

This is very odd. It just started working without any issue. Previously I had quit the game four times and each time the bug occurred in exactly the same way. I really don't know what magically changed.

I haven't changed any mods or configurations. I'm running the game in Steam in Offline Mode, so no updates occurred there.

I tried creating a new blueprint and then using it (without quitting the game) and it works. Tried using an existing blueprint and it works as well.

Mods running:

Blueprints: All blueprints were affected when the bug occurred. From a simple 4x4 road to a smelter line.

If it occurs again, I'll try removing the Marker Mod.

limoka commented 1 year ago

Hm. Maybe this issue is related to anchors? I will look into this later.

NBKRedSpy commented 1 year ago

Ok, found the actual reproduction steps. Updated OP.

To reproduce, press Shift+R and then Shift+T.

Just FYI, I disabled all mods except this one and its dependencies. Just to verify.

limoka commented 9 months ago

Issue fixed in v1.5.11