Review Request: Add a new prefab instance only once to a prefab

Commit Hook null at kde.org
Sat Sep 24 15:02:45 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102689/#review6782
-----------------------------------------------------------


This review has been submitted with commit 5e57cfa6b0beb6c84308b2140e6994130a8b72de by Felix Rohrbach to branch master.

- Commit


On Sept. 24, 2011, 1:34 p.m., Felix Rohrbach wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102689/
> -----------------------------------------------------------
> 
> (Updated Sept. 24, 2011, 1:34 p.m.)
> 
> 
> Review request for Gluon.
> 
> 
> Summary
> -------
> 
> As PrefabInstance::setPrefabLink already adds the new instance to the instance list, we don't need to do it again in the Prefab::createInstance function.
> 
> This bug was causing a crash when creating a new prefab from a game object. To reproduce,
> 1. drag a gameobject with at least one child into the prefabs folder
> 2. try to expand the gameobject in the scene model
> 
> 
> Diffs
> -----
> 
>   engine/prefab.cpp ab60e7e 
> 
> Diff: http://git.reviewboard.kde.org/r/102689/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Felix
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gluon/attachments/20110924/58b0a802/attachment.html>


More information about the Gluon mailing list