Logic UI and Operators: adjusts on Layout + copy properties operator + fix on copy...
authorDalai Felinto <dfelinto@gmail.com>
Wed, 19 May 2010 09:40:45 +0000 (09:40 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Wed, 19 May 2010 09:40:45 +0000 (09:40 +0000)
commita7a9862cc928049bee3cf10685759144b1cc67c2
tree9de7e53bf006171383eb3dd0a88561191c11032e
parent2d343d0774b2ff53894d17cb791ef7efc4332a93
Logic UI and Operators: adjusts on Layout + copy properties operator + fix on copy logic bricks operator (and moved to OBJECT_OT)

* adjusts on Layout:
 - in order to avoid much changes when copying Logics, it's nice to have the logic s/c/a always displaying even though it's not valid (e.g. edit mesh used from a camera object).
Now a message shows in the s/c/a alerting to the problem.

* logic operators under OBJECT_OT - copy properties and logics

Matt, is it possible to have the object game properties listed as a submenu from "Copy Properties" ?
So from the "Copy Game Property" menu we would have three options:
"Copy a property" -> (submenu) prop1, prop2, prop3
"Replace all Properties"
"Merge all Properties"

For the current task list in Logic Editor:
http://www.pasteall.org/13245
source/blender/editors/object/object_edit.c
source/blender/editors/object/object_intern.h
source/blender/editors/object/object_ops.c
source/blender/editors/space_logic/logic_ops.c
source/blender/editors/space_logic/logic_window.c
source/blender/makesrna/intern/rna_actuator.c
source/blender/makesrna/intern/rna_sensor.c