This fixes a hard crash when synching a file, like this one https://download.blender.org/demo/test/classroom.zip
These files have a main scene that references objects from other .blend files. While we support transferring these references, we assume that these objects are meshes and we attempt to extract mesh info from them.
For example, in the classroom demo, there is a point light that is referenced. We attempt to access mesh data from that point light, which results in unexpected behavior. In my case, it would crash the editor.
This fixes a hard crash when synching a file, like this one https://download.blender.org/demo/test/classroom.zip These files have a main scene that references objects from other .blend files. While we support transferring these references, we assume that these objects are meshes and we attempt to extract mesh info from them.
For example, in the classroom demo, there is a point light that is referenced. We attempt to access mesh data from that point light, which results in unexpected behavior. In my case, it would crash the editor.