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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-16 04:52:21 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-16 04:52:21 +0400
commit51fbc95e8c8699cd9ba2f7b1958df7270851af39 (patch)
tree3e2f2ce8595f38d79116ff1026a6995dc373b092 /source/blender/editors/space_node
parent32cf82dbb394fa454a2bc0b93d166d1091b3c25e (diff)
RNA
* Added icon to property and enum property items. The latter is responsible for the large number of files changed. * For RNA functions, added PROP_RNAPTR flag to ask for a PointerRNA as argument instead of a C pointer, instead of doing it implicitly with the AnyType type. * Material: properly wrap diffuse/specular param variables, and rename some things for consistency. * MaterialTextureSlot: added "enabled" property (ma->septex). * Image: make animated property editable. * Image Editor: make some things editable, notifiers, respect state. * Context: fix issue with screen not being set as ID.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/node_select.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_node/node_select.c b/source/blender/editors/space_node/node_select.c
index 3c37793e8d6..6746c21ebcf 100644
--- a/source/blender/editors/space_node/node_select.c
+++ b/source/blender/editors/space_node/node_select.c
@@ -177,8 +177,8 @@ static int node_extend_select_invoke(bContext *C, wmOperator *op, wmEvent *event
/* operators */
static EnumPropertyItem prop_select_items[] = {
- {NODE_SELECT_MOUSE, "NORMAL", "Normal Select", "Select using the mouse"},
- {0, NULL, NULL, NULL}};
+ {NODE_SELECT_MOUSE, "NORMAL", 0, "Normal Select", "Select using the mouse"},
+ {0, NULL, 0, NULL, NULL}};
void NODE_OT_select_extend(wmOperatorType *ot)
{
@@ -225,9 +225,9 @@ void NODE_OT_select(wmOperatorType *ot)
/* ****** Border Select ****** */
static EnumPropertyItem prop_select_types[] = {
- {NODE_EXCLUSIVE, "EXCLUSIVE", "Exclusive", ""}, /* right mouse */
- {NODE_EXTEND, "EXTEND", "Extend", ""}, /* left mouse */
- {0, NULL, NULL, NULL}
+ {NODE_EXCLUSIVE, "EXCLUSIVE", 0, "Exclusive", ""}, /* right mouse */
+ {NODE_EXTEND, "EXTEND", 0, "Extend", ""}, /* left mouse */
+ {0, NULL, 0, NULL, NULL}
};
static int node_borderselect_exec(bContext *C, wmOperator *op)