Maniphest T71393

Library Override: selection and visibility problem with overriden hook empties
Closed, Resolved

Assigned To
Bastien Montagne (mont29)
Authored By
Nuno Conceicao (nunoconceicao)
Nov 6 2019, 8:14 PM
Tags
  • BF Blender
  • Datablocks and Libraries
Subscribers
Bastien Montagne (mont29)
Nuno Conceicao (nunoconceicao)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.81

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-05 18:23, hash: rB9d1031b01199
Worked: (optional)

Short description of error
Linking a curve with a couple hooks doesn't work with library override

Exact steps for others to reproduce the error
1 . Add curve bezier

  1. Enter edit mode
  2. Select a handle
  3. CTRL+H >Hook to new object
  4. Repeat 3 and 4 for the other handle and exit edit mode
  5. Select bezier and in the object properties add some thickness on the Bevel/Depth (for visual purposes of the issue)

7 , Put the bezier object and the 2 empty objects inside a test collection

  1. Save and name the file.

  1. Start another blender session
  2. Link the file saved on step 7 and point to the test collection

  1. Select the linked collection and in the Object/relations choose "Make Library Override"
  2. Choose one of the emptys

(First issue is that sometimes this makes everything disappear or not selectable and have to change visibilities around for everything to act normally)

  1. Repeat steps 10 through 12 to get another linked collection of the same rig
  2. Now if you move the other empties you will realise that the curve of the second link is not following its hooks, but instead its following the first link empty hooks
  3. Try selecting the second linked curve and you will realise also that the outline is correctly deformed but the shaded geometry is matching the first linked curve which is even more wierd.

file with 3 linked collections and added ovverides after having tried to get selectability to work by changing visibility:

Related Objects

Mentioned Here
rB74af6987699a: Fix T70875: Library Override: Clicking an Library Overriden Object crashes…
T71055: Modifiers which deform spline points propagate across all users of the same data unexpectedly

Event Timeline

Nuno Conceicao (nunoconceicao) created this task.Nov 6 2019, 8:14 PM
Nuno Conceicao (nunoconceicao) updated the task description.
Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 50.Nov 7 2019, 2:06 PM
Philipp Oeser (lichtwerk) added a project: Datablocks and Libraries.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

I am already stuck at step 12 [cant get the empties to be selectable, having changed visibilities causes curves to disappear and apparently no way to get them back visible]
I'll add files to the task description for completeness... [@Nuno Conceicao (nunoconceicao): it is always good to attach files here -- even if they are simple -- this just makes sure we are all on the same page...]

Philipp Oeser (lichtwerk) renamed this task from Linking a curve rigged with hooks doesn't work properly with library overrides to Library Override: Linking a curve rigged with hooks doesn't work properly.Nov 7 2019, 2:08 PM
Philipp Oeser (lichtwerk) updated the task description.
Philipp Oeser (lichtwerk) added a subscriber: Bastien Montagne (mont29).

CC @Bastien Montagne (mont29)

Bastien Montagne (mont29) added a comment.Nov 7 2019, 3:06 PM

Am almost certain that this is same issue as T71055 (and has nothing to do with lib overrides): several Curve objects sharing a same curve data-block but having different modifiers… Most likely a drawing issue.

Philipp Oeser (lichtwerk) added a comment.Nov 7 2019, 4:29 PM

OK, can confirm that it works better with meshes [the such issue as T71055]

There is still something weird going on regarding selection/visibility:

  • if you open T71393_mesh_main.blend form above zip and do Object > Relations > Make Library Override > Empty, you cannot select any of the empties, if you G grab the setup empty, the plane and the overridden hook empties disappear into the abyss.
  • if that file is saved and reopened, everything appears to work normally...

All of the above is not the case [no quirks] if you do it with an armature [instead of hooks]

Philipp Oeser (lichtwerk) renamed this task from Library Override: Linking a curve rigged with hooks doesn't work properly to Library Override: selection and visibility problem with overriden hook emptiees.Nov 7 2019, 4:31 PM
Philipp Oeser (lichtwerk) renamed this task from Library Override: selection and visibility problem with overriden hook emptiees to Library Override: selection and visibility problem with overriden hook empties.
Philipp Oeser (lichtwerk) added a comment.Nov 7 2019, 4:36 PM

OKi, looks like rB74af6987699a fixed the selection/visibility thing :)

Philipp Oeser (lichtwerk) added a comment.Nov 7 2019, 4:42 PM

One more thing though:

  • if you open T71393_main.blendand do Object > Relations > Make Library Override > Empty, both hook empties are free to move (that might be expected?), however only the one you have chosen to be overridden displays it transform channels in the turquoise color?
Bastien Montagne (mont29) changed the task status from Unknown Status to Resolved.Nov 7 2019, 5:42 PM
Bastien Montagne (mont29) claimed this task.
In T71393#807551, @Philipp Oeser (lichtwerk) wrote:

One more thing though:

  • if you open T71393_main.blendand do Object > Relations > Make Library Override > Empty, both hook empties are free to move (that might be expected?), however only the one you have chosen to be overridden displays it transform channels in the turquoise color?

Yes that is expected, that’s basically why we need an operator here, to mimic how proxy were working (with some differences due to specifics of lib override system, when you use that operator on a collection, all of its objects will end up being overridden - and hence editable).

Considering that issue fixed, remaining aspects of it are already reported in other reports.