blender/source/gameengine
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
..
BlenderRoutines BGE: New API method getDisplayDimensions 2015-04-07 18:32:25 +02:00
Converter BGE: Support for collision group/mask from the api + activated on EndObject. 2015-04-19 01:04:22 +02:00
Expressions Compilation error fix for MSVC: It does not support expressions in array 2015-04-20 14:07:26 +05:00
GameLogic BGE: Fix for T42341 Sensor.frequency is badly named 2015-04-16 06:39:33 +02:00
GamePlayer BGE: New API method getDisplayDimensions 2015-04-07 18:32:25 +02:00
Ketsji BGE : addObject in python without reference object. 2015-04-26 16:29:58 +02:00
Network mathutils: refactor instantiation 2015-01-04 17:43:57 +11:00
Physics BGE : fix bugs with physics collision mask/group 2015-04-24 11:57:38 +02:00
Rasterizer BGE: New API method getDisplayDimensions 2015-04-07 18:32:25 +02:00
SceneGraph Style Cleanup: remove preprocessor indentation (updated wiki style guide too) 2013-12-22 14:12:19 +11:00
VideoTexture BGE: FIX T43537: ImageMirror does not work in BlenderPlayer with quad buffer 2015-04-11 16:08:15 +02:00
CMakeLists.txt CMake: Enable strict flags for C++ 2015-03-27 18:23:31 +05:00
SConscript