[0.18.30] drawing_box does not work for small entities

Bugs that are actually features.
User avatar
lovely_santa
Filter Inserter
Filter Inserter
Posts: 502
Joined: Sat Feb 18, 2017 9:41 pm
Contact:

[0.18.30] drawing_box does not work for small entities

Post by lovely_santa »

Hi,

When specifying the drawing box of an entity that is larger than the selection box, it correctly "zooms out" the entity preview to make the whole entity visible in the entity preview box.

Now I have a very small entity, so I've set my drawing box very small as well, but it doesn't seem to "zoom in" the entity preview, hence why the entity looks rather small in the preview. I do know that the colors do not justify it in this case.

To reproduce, I've attached the mod, go into the crafting menu, craft a smart cable, place it and hover over it, the preview is not zoomed in.
entity_preview.PNG
entity_preview.PNG (1.28 MiB) Viewed 1134 times
Attachments
ComputerizedAutomation_0.0.1.zip
(57.95 KiB) Downloaded 56 times
You can find all my mods on the mod portal. Also helping on Arch666Angel's mods.
Image
Rseding91
Factorio Staff
Factorio Staff
Posts: 16097
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.18.30] drawing_box does not work for small entities

Post by Rseding91 »

Thanks for the report however I believe that's intended. The logic doesn't scale up things - only scale down if drawing_box won't fit.
If you want to get ahold of me I'm almost always on Discord.
User avatar
lovely_santa
Filter Inserter
Filter Inserter
Posts: 502
Joined: Sat Feb 18, 2017 9:41 pm
Contact:

Re: [0.18.30] drawing_box does not work for small entities

Post by lovely_santa »

So it doesn't take into account that the entity picture/animation could already be downscaled as well, (scale has been set to <1).

Could it be possible to add a setting to upscale the preview so at least it upscales to the size of a single tile entity (for example transport belt). It's still small compared to large entities, but at least it's somewhat visible?

I do recall some questions about being able to draw over the entity preview to preview something else, but that was too complicated to implement. Could an upscale work? Seems doable to me as the entity has higher scales visible when you zoom into the entity (zooming in all the way appears that the actual entity is alot bigger than the entity preview itself
Attachments
entity_preview.PNG
entity_preview.PNG (220.56 KiB) Viewed 1095 times
You can find all my mods on the mod portal. Also helping on Arch666Angel's mods.
Image
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5414
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.18.30] drawing_box does not work for small entities

Post by Klonan »

You can make a modding interface request
Post Reply

Return to “Not a bug”