Blender Git Commit Log
Git Commits -> Revision 5efbd2a
Revision 5efbd2a by Porteries Tristan (master) April 26, 2015, 14:29 (GMT) |
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 |
Commit Details:
Full Hash: 5efbd2a4076af7de8d4c9256ff8f6aacbfa6b49f
Parent Commit: 3524676
Committed By: Thomas Szepe
Lines Changed: +30, -33