Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.4x Bug Tracker: Browse

[#18002] Rev-17473: Add linked object in linked scene failure

Date:
2008-11-16 21:03
Priority:
3
State:
Open
Submitted by:
Sander Brandenburg (sander)
Assigned to:
Brecht Van Lommel (blendix)
Group:
None
Resolution:
None
Category:
None
 
Summary:
Rev-17473: Add linked object in linked scene failure
Detailed description
In link-inactive.zip:
Bullet.blend <-- contains a Cube called Bullet
Shooter.blend <-- contains a plane called Shooter with an Add Object logic brick which shoots linked Bullet objects
main.blend <-- empty scene which links to the Shooter object


If you start a new scene and link to Shooter.blend, the logic works fine. But once you reload the scene, the shooter fails to add bullet objects.

For more explanations look in main.blend 's text editor.


Followup

Message
  • Date: 2009-02-17 09:00
  • Sender: Campbell Barton
  • Cant reproduce, works fine for me.
  • Date: 2009-02-17 09:06
  • Sender: Campbell Barton
  • ah, sorry, confirmed the game logic doesn't work when re-opened.
  • Date: 2009-04-30 22:40
  • Sender: Benoit Bolsee
  • The problem comes from the fact that the Bullet.blend is imported twice as visible in Outliner->library.
    Blender loads the Bullet object twice and gets confused about which one is assigned to the Add Object actuator. However, when looping through the objects (with SETLOOPER), blender only shows one Bullet object but the actuator is linked to the second one, which is not converted. Hence the bug.

    To fix the problem, just link to Shooter.blend alone. Bullet.blend will be imported automatically via Shooter.blend and the Bullet object will be loaded only once.

    However, the confusion about pointers seems to be a bug anyway, but not a BGE bug.
    Moving to the normal tracker.

 

Attached Files:

Name Date Download
link-inactive.zip 2008-11-16 21:03 Download

Changes:

Field Old Value Date By
assigned_tonone2009-08-30 15:20letterrip
ResolutionNew2009-02-17 09:06campbellbarton
File Added7126: link-inactive.zip2008-11-16 21:03sander