Fix T60714: Avoid creation of nested objects
authorAntonioya <blendergit@gmail.com>
Mon, 21 Jan 2019 17:29:02 +0000 (18:29 +0100)
committerAntonioya <blendergit@gmail.com>
Mon, 21 Jan 2019 17:29:02 +0000 (18:29 +0100)
commit48149459e46fb45b51680e937962b28045623932
tree6aced7869c0111deea664ffdb3f1b2d827a60f87
parent0af8ad51c07f987d8cf449efd95a7068f7edeffa
Fix T60714: Avoid creation of nested objects

In grease pencil is not logic add an object inside other object in edit mode. The object must be created only in Object mode.
source/blender/editors/object/object_add.c