blender/source
Porteries Tristan 5efbd2a407 BGE : addObject in python without reference object.
Making the reference argument optional for the addObject function.
```
scene.addObject("Cube")
```

This allows to keep the rotation, scale and position of the original object.
To avoid layer problems with lights if the reference arguments is None, the new object have the same layer than the active layers in scene.

Reviewers: lordloki, moguri, hg1, sybren

Reviewed By: hg1, sybren

Subscribers: agoose77

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1222
2015-04-26 16:29:58 +02:00
..
blender BMesh: increase subdiv smooth strength 2015-04-26 21:26:45 +10:00
blenderplayer Fix BPlayer (c) 2015-04-17 16:03:14 +02:00
creator Add debug option --debug-gpumem to show GPU memory used in status bar. 2015-04-24 14:11:21 +02:00
gameengine BGE : addObject in python without reference object. 2015-04-26 16:29:58 +02:00
icons
CMakeLists.txt
SConscript