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:
authorCampbell Barton <ideasman42@gmail.com>2010-03-07 00:47:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-03-07 00:47:16 +0300
commit3838b80cf1cfe0a340a8471732bc86fde2852c29 (patch)
tree2f49637004aee3b734abca6fbaefd63f385dd93b /source/blender/makesrna/intern/rna_image.c
parent782cb1f0e0d9c019bfb7b9391ffa4b827ed1aa6f (diff)
re-project + gimp integration, now its easy to edit the view in the gimp and apply the projection back without manually opening and saving files.
Diffstat (limited to 'source/blender/makesrna/intern/rna_image.c')
-rw-r--r--source/blender/makesrna/intern/rna_image.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c
index e9eec9bf64a..8996ac078dd 100644
--- a/source/blender/makesrna/intern/rna_image.c
+++ b/source/blender/makesrna/intern/rna_image.c
@@ -280,6 +280,11 @@ static void rna_def_image(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Filename", "Image/Movie file name");
RNA_def_property_update(prop, NC_IMAGE|ND_DISPLAY, "rna_Image_reload_update");
+ /* eek. this is horrible but needed so we can save to a new name without blanking the data :( */
+ prop= RNA_def_property(srna, "filename_raw", PROP_STRING, PROP_FILEPATH);
+ RNA_def_property_string_sdna(prop, NULL, "name");
+ RNA_def_property_ui_text(prop, "Filename", "Image/Movie file name (without data refreshing)");
+
prop= RNA_def_property(srna, "source", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_items(prop, image_source_items);
RNA_def_property_enum_funcs(prop, NULL, NULL, "rna_Image_source_itemf");