projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a21f46b
)
SpaceImage.curves --> curve for consistency.
author
Campbell Barton <ideasman42@gmail.com>
Fri, 25 Mar 2011 04:37:59 +0000
(
04:37
+0000)
committer
Campbell Barton <ideasman42@gmail.com>
Fri, 25 Mar 2011 04:37:59 +0000
(
04:37
+0000)
source/blender/editors/space_image/image_buttons.c
patch
|
blob
|
history
source/blender/makesrna/intern/rna_access.c
patch
|
blob
|
history
source/blender/makesrna/intern/rna_space.c
patch
|
blob
|
history
diff --git
a/source/blender/editors/space_image/image_buttons.c
b/source/blender/editors/space_image/image_buttons.c
index 8b3ceecc7da8681688ce8bf6d6a717350eb1ff0f..6a50de566ac7c69da17fc9f045c6399b95b07d79 100644
(file)
--- a/
source/blender/editors/space_image/image_buttons.c
+++ b/
source/blender/editors/space_image/image_buttons.c
@@
-346,7
+346,7
@@
static void image_panel_curves(const bContext *C, Panel *pa)
levels= (ibuf->channels==4);
RNA_pointer_create(&sc->id, &RNA_SpaceImageEditor, sima, &simaptr);
levels= (ibuf->channels==4);
RNA_pointer_create(&sc->id, &RNA_SpaceImageEditor, sima, &simaptr);
- uiTemplateCurveMapping(pa->layout, &simaptr, "curve
s
", 'c', levels, 0);
+ uiTemplateCurveMapping(pa->layout, &simaptr, "curve", 'c', levels, 0);
}
ED_space_image_release_buffer(sima, lock);
}
ED_space_image_release_buffer(sima, lock);
diff --git
a/source/blender/makesrna/intern/rna_access.c
b/source/blender/makesrna/intern/rna_access.c
index cbd02d885dc41dc25bb16803633bd1ec7bcc8ebb..4d2e205d1a9121f651cb1992a83cfd86099ea947 100644
(file)
--- a/
source/blender/makesrna/intern/rna_access.c
+++ b/
source/blender/makesrna/intern/rna_access.c
@@
-62,22
+62,6
@@
#include "rna_internal.h"
#include "rna_internal.h"
-void RNA_warning(const char *format, ...)
-{
- va_list args;
-
- va_start(args, format);
- vprintf(format, args);
- va_end(args);
-
-#if WITH_PYTHON
- {
- extern void PyC_LineSpit(void);
- PyC_LineSpit();
- }
-#endif
-}
-
const PointerRNA PointerRNA_NULL= {{NULL}};
/* Init/Exit */
const PointerRNA PointerRNA_NULL= {{NULL}};
/* Init/Exit */
@@
-5093,3
+5077,19
@@
int RNA_property_copy(PointerRNA *ptr, PointerRNA *fromptr, PropertyRNA *prop, i
return 0;
}
return 0;
}
+
+void RNA_warning(const char *format, ...)
+{
+ va_list args;
+
+ va_start(args, format);
+ vprintf(format, args);
+ va_end(args);
+
+#ifdef WITH_PYTHON
+ {
+ extern void PyC_LineSpit(void);
+ PyC_LineSpit();
+ }
+#endif
+}
diff --git
a/source/blender/makesrna/intern/rna_space.c
b/source/blender/makesrna/intern/rna_space.c
index 54b2dc1dd0f32e3c084bd979198cfbc6f14509d3..5d39537970b5f100a5bf500f9027ceda3fec9806 100644
(file)
--- a/
source/blender/makesrna/intern/rna_space.c
+++ b/
source/blender/makesrna/intern/rna_space.c
@@
-1450,9
+1450,9
@@
static void rna_def_space_image(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Image User", "Parameters defining which layer, pass and frame of the image is displayed");
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_IMAGE, NULL);
RNA_def_property_ui_text(prop, "Image User", "Parameters defining which layer, pass and frame of the image is displayed");
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_IMAGE, NULL);
- prop= RNA_def_property(srna, "curve
s
", PROP_POINTER, PROP_NONE);
+ prop= RNA_def_property(srna, "curve", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "cumap");
RNA_def_property_pointer_sdna(prop, NULL, "cumap");
- RNA_def_property_ui_text(prop, "Curve
s
", "Color curve mapping to use for displaying the image");
+ RNA_def_property_ui_text(prop, "Curve", "Color curve mapping to use for displaying the image");
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_IMAGE, "rna_SpaceImageEditor_curves_update");
prop= RNA_def_property(srna, "scopes", PROP_POINTER, PROP_NONE);
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_IMAGE, "rna_SpaceImageEditor_curves_update");
prop= RNA_def_property(srna, "scopes", PROP_POINTER, PROP_NONE);