Custom Profile Editing: Added a profile editor widget
authorHans Goudey <h.goudey@me.com>
Fri, 21 Jun 2019 04:52:28 +0000 (00:52 -0400)
committerHans Goudey <h.goudey@me.com>
Fri, 21 Jun 2019 04:52:28 +0000 (00:52 -0400)
commite64f58756f8a28135b7c8abcc1cc77281bef472d
tree4d9390ee91bb1049aa85d090e833f19705351f84
parent9da0ee81d3974619d780dc4bca555c7242350928
Custom Profile Editing: Added a profile editor widget

This ProfileWidget and related drawing and interface code mirrors much of the
functionality of the CurveMapping code, but with the important different that
it's evaluation results in a 2D result, the X and Y of a position along the
profile generated in the widget. Because of this fundamental change to the
purpose of the widget, it made sense to split it into a new widget rather
than increasing the complexity of both areas.

This is incomplete and buggy at the moment, but it lays the groundwork for
future changes that I'll work on in the coming days, and it does compile.
30 files changed:
release/scripts/startup/bl_ui/properties_data_modifier.py
source/blender/CMakeLists.txt
source/blender/blenkernel/BKE_profile_path.h
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/intern/paint.c
source/blender/blenkernel/intern/profile_path.c
source/blender/blenloader/intern/readfile.c
source/blender/bmesh/intern/bmesh_opdefines.c
source/blender/bmesh/operators/bmo_bevel.c
source/blender/bmesh/tools/bmesh_bevel.c
source/blender/bmesh/tools/bmesh_bevel.h
source/blender/editors/include/UI_interface.h
source/blender/editors/interface/interface_draw.c
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_intern.h
source/blender/editors/interface/interface_query.c
source/blender/editors/interface/interface_templates.c
source/blender/editors/interface/interface_widgets.c
source/blender/editors/space_node/drawnode.c
source/blender/makesdna/DNA_modifier_types.h
source/blender/makesdna/DNA_profilepath_types.h [new file with mode: 0644]
source/blender/makesdna/intern/makesdna.c
source/blender/makesrna/RNA_access.h
source/blender/makesrna/intern/CMakeLists.txt
source/blender/makesrna/intern/makesrna.c
source/blender/makesrna/intern/rna_internal.h
source/blender/makesrna/intern/rna_modifier.c
source/blender/makesrna/intern/rna_profile.c [new file with mode: 0644]
source/blender/makesrna/intern/rna_ui_api.c
source/blender/modifiers/intern/MOD_bevel.c