Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-07-15 03:51:21 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-07-15 03:51:21 +0400
commit4242baa704a516400a415f4f05b3e908cc41ea27 (patch)
tree7bc0a5db4b061e0baecfcd7731edd8b28326cd64 /source/blender/makesrna/intern/rna_controller.c
parent0980f2555f565bfac0958483da76b7e75e8921e5 (diff)
Logic UI: Changing Controllers names to follow Sensors and actuators (back to have only the first latter capitalized) + change the controller state only when in expanded mode (show the number otherwise).
Cosmetic commit, no structural/big code changes (patch by dfelinto).
Diffstat (limited to 'source/blender/makesrna/intern/rna_controller.c')
-rw-r--r--source/blender/makesrna/intern/rna_controller.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_controller.c b/source/blender/makesrna/intern/rna_controller.c
index 6307c39be52..c66ce532351 100644
--- a/source/blender/makesrna/intern/rna_controller.c
+++ b/source/blender/makesrna/intern/rna_controller.c
@@ -32,12 +32,12 @@
#include "DNA_controller_types.h"
EnumPropertyItem controller_type_items[] ={
- {CONT_LOGIC_AND, "LOGIC_AND", 0, "AND", "Logic And"},
- {CONT_LOGIC_OR, "LOGIC_OR", 0, "OR", "Logic Or"},
- {CONT_LOGIC_NAND, "LOGIC_NAND", 0, "NAND", "Logic Nand"},
- {CONT_LOGIC_NOR, "LOGIC_NOR", 0, "NOR", "Logic Nor"},
- {CONT_LOGIC_XOR, "LOGIC_XOR", 0, "XOR", "Logic Xor"},
- {CONT_LOGIC_XNOR, "LOGIC_XNOR", 0, "XNOR", "Logic Xnor"},
+ {CONT_LOGIC_AND, "LOGIC_AND", 0, "And", "Logic And"},
+ {CONT_LOGIC_OR, "LOGIC_OR", 0, "Or", "Logic Or"},
+ {CONT_LOGIC_NAND, "LOGIC_NAND", 0, "Nand", "Logic Nand"},
+ {CONT_LOGIC_NOR, "LOGIC_NOR", 0, "Nor", "Logic Nor"},
+ {CONT_LOGIC_XOR, "LOGIC_XOR", 0, "Xor", "Logic Xor"},
+ {CONT_LOGIC_XNOR, "LOGIC_XNOR", 0, "Xnor", "Logic Xnor"},
{CONT_EXPRESSION, "EXPRESSION", 0, "Expression", ""},
{CONT_PYTHON, "PYTHON", 0, "Python Script", ""},
{0, NULL, 0, NULL, NULL}};