diego1996 / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

different bugs concerning group-instances with layers and scenes #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Case1:
What steps will reproduce the problem?
1. create a group (ctrl-g), move it to an invisible layer
2. create a group-instance on another deactivated layer

What is the expected output? What do you see instead?
the group-instance should be invisible, but is shown

Case2:
1b) create group in an invisble layer in another scene
2b) create a group-instance in that scene
3b) switch back to first scene

What is the expected output? What do you see instead?
the group-instance of the other scene shouldn't be visible, but is

Case3:
1c) create a group in another scene
2c) create a group-instance in the first scene

What is the expected output? What do you see instead?
the group-instance should be visible but isn't

Case1: when creating group-instances the created objects were set to all 
layers. I changed this, so that the created objects get the layer of the 
group-instance-object

Case2: group-instances were created in the scene where the group was created. 
now when the scene is created and the group-instances are created all possible 
groups are checked if they have an instance for the corresponding scene

Case3: group-instances were created in the conversion-process for each scene. 
When a group-instance referenced a group of another scene that wasn't processed 
yet, this group-instance was ignored. Now, the conversion-process is split up. 
1) conversion of everything but the group-instances and afterwards a 2nd pass 
that creates the instances.

Original issue reported on code.google.com by thomas.t...@googlemail.com on 12 Jul 2012 at 7:35

Attachments:

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/gamekit/source/detail?r=1112
http://code.google.com/p/gamekit/source/detail?r=1113

Original comment by thomas.t...@googlemail.com on 12 Jul 2012 at 7:50