Logic Editor: "Python Controller" NOT "Python Script Controller"
authorDalai Felinto <dfelinto@gmail.com>
Wed, 2 Mar 2011 01:42:14 +0000 (01:42 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Wed, 2 Mar 2011 01:42:14 +0000 (01:42 +0000)
The "Script" was added in the original rna commit but for no apparent reason the controller was renamed from the original 2.49 name.
Spotted/reverted in time.

source/blender/makesrna/intern/rna_controller.c

index 7f3e3bed0ac9846af00179422db6127c7d5a5041..12d27bc80c2ff6115cb383479dc2f942c3e682b4 100644 (file)
@@ -44,7 +44,7 @@ EnumPropertyItem controller_type_items[] ={
        {CONT_LOGIC_XOR, "LOGIC_XOR", 0, "Xor", "Logic Xor"},
        {CONT_LOGIC_XNOR, "LOGIC_XNOR", 0, "Xnor", "Logic Xnor"},
        {CONT_EXPRESSION, "EXPRESSION", 0, "Expression", ""},
        {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", ""},
+       {CONT_PYTHON, "PYTHON", 0, "Python", ""},
        {0, NULL, 0, NULL, NULL}};
 
 #ifdef RNA_RUNTIME
        {0, NULL, 0, NULL, NULL}};
 
 #ifdef RNA_RUNTIME