2.5 MetaBalls
authorJiri Hnidek <jiri.hnidek@tul.cz>
Wed, 29 Jul 2009 12:35:09 +0000 (12:35 +0000)
committerJiri Hnidek <jiri.hnidek@tul.cz>
Wed, 29 Jul 2009 12:35:09 +0000 (12:35 +0000)
commitf75005c2a89f6cc5f1bdac33e26341a14ed92888
treef83839e709b1167ce9eac42dc8acacd2ec2943cb
parentb3d07534679e243759892f2a1206dc8756a1c004
2.5 MetaBalls

 - It is possible to work with MetaBalls in edit mode now
 - Added basic UI to the button window (feel free to change it :-))
 - Header menus should work
 - Undo & redo should work
 - Removed global variable editelems and lastelem (moved it to the MetaBall struct)
 - All tools from old editmball.c was converted to the operators
 - Added lastelem to the RNA
 - Experimental: mb->editelems is only pointer at mb->elems or NULL (depends on Mode). ListBase of MetaElems is not duplicated in edit mode.

Tested with scons at Linux and mac OS X

TODO:
 - Recalc data after Undo or Redo
 - Solve issue with basic MetaBall and Python UI script (only base MetaBall object influence Wiresize and Threshold)
 - Fix orientation of manipulator in "Normal mode"
25 files changed:
release/ui/buttons_data_metaball.py [new file with mode: 0644]
source/blender/blenloader/intern/readfile.c
source/blender/editors/Makefile
source/blender/editors/SConscript
source/blender/editors/include/ED_mball.h [new file with mode: 0644]
source/blender/editors/include/ED_screen.h
source/blender/editors/metaball/Makefile [new file with mode: 0644]
source/blender/editors/metaball/SConscript [new file with mode: 0644]
source/blender/editors/metaball/editmball.c [new file with mode: 0644]
source/blender/editors/metaball/mball_intern.h [new file with mode: 0644]
source/blender/editors/metaball/mball_ops.c [new file with mode: 0644]
source/blender/editors/object/object_edit.c
source/blender/editors/object/object_intern.h
source/blender/editors/object/object_ops.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_api/spacetypes.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/editors/space_view3d/view3d_header.c
source/blender/editors/space_view3d/view3d_select.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_manipulator.c
source/blender/editors/util/undo.c
source/blender/makesdna/DNA_meta_types.h
source/blender/makesrna/intern/rna_meta.c