blender/doc
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_file_format update dna exporter for API changes 2014-11-14 00:55:40 +01:00
build_systems Update scons build documentation 2015-01-28 23:40:41 +05:00
doxygen doxygen: updating blender version and link to tracker 2015-02-21 12:16:20 +00:00
guides Code cleanup: removed some unused UI button types 2013-06-09 18:05:50 +00:00
license And here is the first git (testing) commit by me! 2013-11-16 12:00:42 +01:00
manpage cleanup: shebang lines 2015-01-29 15:56:23 +11:00
python_api BGE : addObject in python without reference object. 2015-04-26 16:29:58 +02:00