Blender Git Loki
Git Commits -> Revision a7c660f
Revision a7c660f by Ray molenkamp (master) March 17, 2020, 19:45 (GMT) |
Cleanup: Fix warnings about function signature of register pass RE_engine_register_pass is sometimes in the headers with type as an integer parameter, sometimes as eNodeSocketDatatype. This caused warnings, the root cause was makesrna was not able to generate the proper type for enums and defaulted to int. makesrna has been extended with the RNA_def_property_enum_native_type that allows telling makesrna the native type of an enum, if set it will be used otherwise it will still fall back to int. Differential Revision: https://developer.blender.org/D7117 Reviewed By: brecht |
Commit Details:
Full Hash: a7c660fe615030b41128a20e0bd2676ff4c2a196
Parent Commit: e09f0ca
Lines Changed: +33, -4
8 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+1, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+10, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+17, -0) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_render.c (+1, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+1, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+1, -1) (Diff)
/source/blender/render/intern/source/render_result.c (+1, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+10, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+17, -0) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_render.c (+1, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+1, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+1, -1) (Diff)
/source/blender/render/intern/source/render_result.c (+1, -1) (Diff)