teoxoy / factorio-blueprint-editor

A feature-rich Factorio Blueprint Editor
https://fbe.teoxoy.com
MIT License
333 stars 75 forks source link

[BUG] #234

Closed Janmm14 closed 2 years ago

Janmm14 commented 2 years ago

Describe the bug Exporting a blueprint after importing (and editing) does not preserve blueprint grid settings, they are removed instead.

To Reproduce

Should be quite obvious

Expected behavior Should be quite obvious

Screenshots Not needed

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Blueprint String (originally from https://factorioprints.com/view/-MRlUfZhORyl5xBC2yq2 ) 0eNqlnc2OXEdyRl9F6DUJRORPZKZ2hrd+A2MWktjSNMwhiWbL9nigdzclSsaYLbJ4z1kNRlKwu6rOjfgYB4H6x933r3++f/f48Obp7tt/3L26f//D48O7p4e3b+6+vfuXV6/ef/N4//Dmx7ePP9y/+uaHt29+eLx/uv/m9cOb+2/+6+Hpr9/89bv/+e7x1Tffv318df/4/u7F3fs33717+fT25U+PD69+/RP/++7bjHhx9/ff/veXF3ffff/+7eufn+5f/vpfvnt489Pdt0+PP9+/uHv48Me/v/v23/9x9/7hpzffvf61+unv7+4//CIPT/d/+/Bnv/nub7/9v8e3b16+f3r44T/uPvx5D29e3f/6Q355cbPw/dPbN/cvv3/8/5XtKyof73/88JJfvfzjHfin8v4V5R/fpT+rHr/85cXd08Pr+4+v/N3b9w8f3/zf3rmXOX97517OXz73Z718ff/j092vv8Pnaoeo7aK2/fKlt+/zdcnqgpXBn9b4GyPeU/FRHoHQKVG7RO1mH845kIWgEEXSQgFSRjfFCKbx8RktUTtFrfmdu6i93MsG7GWD9bLBetngvWzwXjZ4L/tYKgg64sce83PFE8Na6IAtdMAWOmgLHbSFDtNCh2mhw7fQDERT/9hXlqgtUWt+5yFqu6i93Ls77N2d9e7Oenfnvbvz3t157+68d38sFeAe8WKPeLVHvNxjXq9oENdHRocjo9OR0enI6GZkdDMyuhkZ3Y+MDIRT+9gLt6hdotb8zlPUDlHbRe3lWdXgrGpsVjU2qxqfVY3PqsZnVeOzqvFZ9bFUP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E+LmCXHzhLhvJ8RbpVu0L9H6UO87t4Pa517uwTnt4Jx2cE47OKcdnNMOzmkH57SDctpBOe2QnHZITjs0px2a0w7NaYfmtENz2qE57dzKaV8uPLjfHNxuSF46OC8dnJcOzksH56WD89LBeemgvHRQXjosLx2Wlw7PS4fnpcPz0uF56fC8dHheOrfz0q1S0oIycHD5o3Tz0sVLi5dOXjp4aeelF/PLH2WJygJVsZ/V8HvC303+EXJuOKz8CeGPJYkVf5TyT/Twj/Twz/TwD/XwT/Xwj/Vquvij7LDHOmA7iIR1HCAUMf6vdojaKWpL1C5RS9pD8oGffOAnH/jJB37ygZ984Ccb+MkGfqKBn2jgJx74iQd+4oGfeOAnHviJB37y2Zt89iafvclnb/LZm3z2Jpu9yWZvwtmbcPammL0pZm+K2Zti9qaYvSlmb+NDsPEh2PgQbHwINj4EGxuCjQ3BhoZgQ0Ow4SHY8BBseAg2PAQbHoKNz6PG51Hj86jxedT4PGpsHjU2jxqcRw3OoybmURPzqIl51MQ8amIedT4YOh8MnQ+GzgdDZ4Ohs8HQ0WDoaDB0PBg6HgwdD4aOB0PnPbrzHt15j+68R3fWozvr0R326A57dBc9uose3UWP7qJHD94sB2+WgzfLwZrlYM1yoGY5ULMcuFkO3CwHbpb8y5pz8L41eN9i39uc7IubE35zc8Kvbs4h+tYQfWt8bd/6y4u7h6f7v33499+//vn+3ePDm6e7F3evv/v+/vWHf/avv//H3/zbh5f64Z//5/3j+99+Sts51mlrnDnW7L/88r96PA0U
teoxoy commented 2 years ago

These following 3 settings are persisted and exported.

https://github.com/teoxoy/factorio-blueprint-editor/blob/1b2c1937022bdb62b0d40f6d9542db8534410dc0/packages/editor/src/global.d.ts#L340-L342

Are you sure you used https://fbe.teoxoy.com/ and not https://teoxoy.github.io/factorio-blueprint-editor/ ?

Janmm14 commented 2 years ago

Will try again. Not sure anymore which one I used

teoxoy commented 2 years ago

closing due to inactivity - feel free to reopen if this is still an issue