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:
authorDaniel Dunbar <daniel@zuster.org>2005-08-14 10:08:41 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-08-14 10:08:41 +0400
commit93aeb6b318a7ec8022e14bba7f9ab98aae0aab6e (patch)
tree3520b0cd661580fae23de6ea6456433914ced053 /source/blender/blenkernel/intern/deform.c
parent5f61dc89ba31bf7c6d27f2e4f870cb65e58d15e4 (diff)
- added make_orco_curf, even does keys!
- removed {lattice,curve}_modifier functions - changed render code to use displist for curve rendering instead of making its own. required adding a bevelSplitFlag field to DispList. I also fixed the bevel face splitting which did not work correctly in many situations. - changed so all curve data creation happens in makeDispListCurveTypes, includes making bevel list and filling polys - changed render code to use displist for surface rendering - removed Curve.orco variable, built as needed now - removed stupid BLI_setScanFill* functions... why use a function argument when you can use a global and two functions! Why indeed. (this fixed crash when reloading a file with filled curves and toggling editmode) - bug fix, setting curve width!=1 disabled simple bevel for no apparent reason - cleaned up lots and lots of curve/displist code (fun example: "if(dl->type==DL_INDEX3 || dl->type==DL_INDEX3)"). Hmmm! - switched almost all lattice calls to go through lattice_deform_verts, only exception left is particles - added DBG_show_shared_render_faces function in render, just helps to visualize which verts are shared while testing (no user interface). - renamed some curve bevel buttons and rewrote tooltips to be more obvious - made CU_FAST work without dupfontbase hack Also by the way I wrote down some notes on how curve code works, nothing spiffy but it is at: http://wiki.blender.org/bin/view.pl/Blenderdev/CurveNotes
Diffstat (limited to 'source/blender/blenkernel/intern/deform.c')
-rw-r--r--source/blender/blenkernel/intern/deform.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/source/blender/blenkernel/intern/deform.c b/source/blender/blenkernel/intern/deform.c
index 84a96a8e694..be3c1afc2c5 100644
--- a/source/blender/blenkernel/intern/deform.c
+++ b/source/blender/blenkernel/intern/deform.c
@@ -154,47 +154,3 @@ int get_defgroup_num (Object *ob, bDeformGroup *dg)
}
-/* *************** HOOK ****************** */
-
-int curve_modifier(Object *ob, char mode)
-{
- static ListBase nurb={NULL, NULL};
- Curve *cu= ob->data;
- Nurb *nu, *newnu;
- int done= 0;
-
- do_curve_key(cu);
-
- /* conditions if it's needed */
- if(ob->parent && ob->partype==PARSKEL);
- else if(ob->parent && ob->parent->type==OB_LATTICE);
- else return 0;
-
- if(mode=='s') { // "start"
- /* copy */
- nurb.first= nurb.last= NULL;
- nu= cu->nurb.first;
- while(nu) {
- newnu= duplicateNurb(nu);
- BLI_addtail(&nurb, newnu);
- nu= nu->next;
- }
- }
- else if(mode=='e') {
- /* paste */
- freeNurblist(&cu->nurb);
- cu->nurb= nurb;
- }
-
- return done;
-}
-
-int lattice_modifier(Object *ob, char mode)
-{
- Lattice *lt = ob->data;
-
- do_latt_key(lt);
-
- return 0;
-}
-