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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-09-11 08:41:14 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-09-11 08:41:14 +0400
commit507af0085519542647a1c605c0a1cf9940f70555 (patch)
treedb65aee2626528ca29b75ed62201e49ef2453664 /source/blender/makesrna/RNA_access.h
parent7aedfd654bc1cba8b73be42a6938dc9857876069 (diff)
Freestyle: Fix for missing quality control on line rendering in Cycles.
Freestyle was using the default Cycles rendering settings (e.g., the number of samples) and users could not change them. Now all render parameters (except for film_transparent) are inherited for Freestyle stroke rendering. Problem report by Danny Grimm on Facebook, thanks!
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r--source/blender/makesrna/RNA_access.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h
index 8cbc198837b..f0582b39819 100644
--- a/source/blender/makesrna/RNA_access.h
+++ b/source/blender/makesrna/RNA_access.h
@@ -1040,12 +1040,12 @@ void RNA_collection_clear(PointerRNA *ptr, const char *name);
CollectionPropertyIterator rna_macro_iter; \
for (RNA_property_collection_begin( \
sptr, \
- RNA_struct_iterator_property(sptr->type), \
+ RNA_struct_iterator_property((sptr)->type), \
&rna_macro_iter); \
rna_macro_iter.valid; \
RNA_property_collection_next(&rna_macro_iter)) \
{ \
- PropertyRNA *prop = rna_macro_iter.ptr.data;
+ PropertyRNA *prop = (PropertyRNA *)rna_macro_iter.ptr.data;
#define RNA_STRUCT_END \
} \