Photia

Original title was "Problem copying skin placeholders" but I've realized it's a lot more widespread than that.

When I copy an attachment, the path for that image gets pasted into the "Path" field at the bottom of the Editor (which usually just reads <path>). If I double click on the copied attachment and rename it to point to a different asset, the "Path" field continues to point to the old image.

The attachment will be renamed in the tree, and the "Region" label correctly identifies it, but it won't visually change in the editor until you manually go in and edit the path.

Reproduction steps:
1. Create slot with attachment
2. Copy slot or skin placeholder which has an attachment in place, or just copy attachment within the slot
3. Rename the copied attachment to another asset in the folder

I'm using v1.6.37 in Windows.

Hopefully a bug and not a feature, or I'll have to change how I work!
Photia
  • Сообщения: 9

Søren

I actually can't say if this is a bug or a feature since it's very new and something that needed to be added to make room for the new features. If it's a feature I'm sure we can add a checkbox or an option to automatically rename the path field as well when renaming in the tree.
Аватара пользователя
Søren

Shiu
  • Сообщения: 2396

Photia

Ah, ok, thanks for the info! As implemented now, it feels like a bug, because it's inconsistently applied (only sets the path on copied attachments - regular attachments can be changed as normal) and because the json I send over to the programmers appears to be still using assets according to the region/attachment name, not the path (so it only really affects the editor, as far as I've seen).

Anything that lets me rename path and region at the same time will be welcome! My folders tend to be a really long list of images, so I've gotten into the habit of copying and renaming attachments instead of dragging them out. :)
Photia
  • Сообщения: 9

Nate

Fixed in 1.6.38. For now you can delete the contents of the path field. Note that the path field is used to look up attachments, not the attachment name. If the path field is blank, the attachment name is used. This lets you have the same image twice in a slot, eg with a different attachment color.
Аватара пользователя
Nate

Nate
  • Сообщения: 9861

Photia

Oh, nice, didn't know that. Thanks!
Photia
  • Сообщения: 9


Вернуться в Bugs