Linked proxies "lost data" #52481

Closed
opened 2017-08-21 16:19:28 +02:00 by Andy Bay · 11 comments

There seems to be a problem in Blender in which linked proxy objects start to "lose data".

There is a simple way to test this behavior:

  1. Create a new empty blender scene

  2. Link an object to it (suzanne will do fine)

  3. Make the object a proxy

  4. Choose "make local" --> "all"

  5. Attempt to go to edit mode (won't work)

  6. Save the file and reload it (blender will give a console error with "lost data" and the proxy object disappears)

Here is a video of the problem:

https://youtu.be/iaWOj72dc0Q

This seems to happen with both 2.78 and 2.79

EDIT:

A smaller file: link problem.zip

There seems to be a problem in Blender in which linked proxy objects start to "lose data". There is a simple way to test this behavior: 1. Create a new empty blender scene 2. Link an object to it (suzanne will do fine) 3. Make the object a proxy 4. Choose "make local" --> "all" 5. Attempt to go to edit mode (won't work) 6. Save the file and reload it (blender will give a console error with "lost data" and the proxy object disappears) Here is a video of the problem: https://youtu.be/iaWOj72dc0Q This seems to happen with both 2.78 and 2.79 EDIT: A smaller file: [link problem.zip](https://archive.blender.org/developer/F720752/link_problem.zip)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Geminoidi

Added subscriber: @Geminoidi

Added subscriber: @mont29

Added subscriber: @mont29

Please always attach a small and simple .blend file (not a 96MB zipped archive…) to help reproducing the issue, always saves us a tremendous of time.

Please always attach a **small and simple** .blend file (not a 96MB zipped archive…) to help reproducing the issue, always saves us a tremendous of time.
Author

In #52481#453627, @mont29 wrote:
Please always attach a small and simple .blend file (not a 96MB zipped archive…) to help reproducing the issue, always saves us a tremendous of time.

Hi! Sorry about that! You can freely ignore the file, because the problem can also be easily recreated with the six steps I posted.

EDIT: I uploaded a smaller zip now

> In #52481#453627, @mont29 wrote: > Please always attach a **small and simple** .blend file (not a 96MB zipped archive…) to help reproducing the issue, always saves us a tremendous of time. Hi! Sorry about that! You can freely ignore the file, because the problem can also be easily recreated with the six steps I posted. EDIT: I uploaded a smaller zip now

Added subscriber: @SteffenD

Added subscriber: @SteffenD
Author

I'm not so familiar with the bug tracker so please forgive for asking: what does it mean that the status of this is "incomplete"? Are you still waiting for additional input from me?

I'm not so familiar with the bug tracker so please forgive for asking: what does it mean that the status of this is "incomplete"? Are you still waiting for additional input from me?
Bastien Montagne self-assigned this 2017-08-25 12:55:06 +02:00

Sorry, just means none of the devs had time to check again on it ;)

So, what happens here I think is that "making all local" also makes linked mesh data local, and remaps the proxy to use that data. However, a proxy's obdata is ignored at save time, so that localized mesh end up having no user and be discarded, so when opening again proxy data points to inexistent obdata…

Think proxies shall never use local obdata, will see what I can do in localizing process to forbid this to happen.

Sorry, just means none of the devs had time to check again on it ;) So, what happens here I think is that "making all local" also makes linked mesh data local, and remaps the proxy to use that data. However, a proxy's obdata is ignored at save time, so that localized mesh end up having no user and be discarded, so when opening again proxy data points to inexistent obdata… Think proxies shall never use local obdata, will see what I can do in localizing process to forbid this to happen.
Author

Does this mean that it's impossible to make linked proxy objects local? Is the only way forward to re-import everything by appending instead of linking? Or can I still salvage my scene somehow?

Does this mean that it's impossible to make linked proxy objects local? Is the only way forward to re-import everything by appending instead of linking? Or can I still salvage my scene somehow?

This issue was referenced by e2ffad7823

This issue was referenced by e2ffad7823ca525a7d9e2bc3f35d6ece413371bc

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#52481
No description provided.