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:
authorTon Roosendaal <ton@blender.org>2004-09-14 23:03:11 +0400
committerTon Roosendaal <ton@blender.org>2004-09-14 23:03:11 +0400
commit37f57288cbcdb54770a8b01d74a323d62251fe9e (patch)
tree6f0316050cbc80fb66408d3dfb43705c273fd2ef /source/blender/include
parent807339b4a7a0be25fbdc3de32e2c264f3f0b1e5a (diff)
Lot of code... 2 new features:
1) Curve deform http://www.blender3d.org/cms/Curve_Deform.392.0.html Works simple as expected, but keep track of the rotation axis in F7 buttons (Track X Y Z) Only Mesh deform supported now. Code changes: - centralized deformation calls in curve_modifiers() mesh_modifiers() etcetera. Here also other effects can be added like wave. Now the evaluation order is fixed, but should become optional. It also doesnt use the Displist anymore as deform-input. That latter part is unfinished yet. This code also is used for Hooks and will be needed for softbody - made convention stricter that displists are being checked on in drawobject(), this to prevent routines to make new displists recursively (like armature does). Now a freedisplist() is sufficient to signal that a new displaylist should be made. 2) Object Hooks http://www.blender3d.org/cms/Object_Hooks.391.0.html Support for Hooks is added to Mesh, Lattice, Curve and Surface objects. For Armatures this would require some more work & research. Main goal for this feature is to provide quick & simple access to the underlying geometry in Objects on Object level, supporting hierarchies and Ipos etc.
Diffstat (limited to 'source/blender/include')
-rw-r--r--source/blender/include/BDR_editcurve.h2
-rw-r--r--source/blender/include/BDR_editobject.h1
-rw-r--r--source/blender/include/butspace.h5
3 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/include/BDR_editcurve.h b/source/blender/include/BDR_editcurve.h
index e99ce2c625f..839bf4c6802 100644
--- a/source/blender/include/BDR_editcurve.h
+++ b/source/blender/include/BDR_editcurve.h
@@ -33,6 +33,7 @@
#ifndef BDR_EDITCURVE_H
#define BDR_EDITCURVE_H
+struct Object;
struct Curve;
struct Nurb;
struct BezTriple;
@@ -89,6 +90,7 @@ void add_primitiveNurb(int type);
void clear_tilt(void);
void clever_numbuts_curve(void);
int bezt_compare (const void *e1, const void *e2);
+void curve_changes_other_objects(struct Object *ob);
extern void undo_push_curve(char *name);
extern void undo_clear_curve(void);
diff --git a/source/blender/include/BDR_editobject.h b/source/blender/include/BDR_editobject.h
index 5b1fe2552aa..a00878448fa 100644
--- a/source/blender/include/BDR_editobject.h
+++ b/source/blender/include/BDR_editobject.h
@@ -119,6 +119,7 @@ void mirrormenu(void);
void mirror_edit(short mode);
void mirror_object(short mode);
void flag_edge_crease(void);
+void add_hook(void);
#endif /* BDR_EDITOBJECT_H */
diff --git a/source/blender/include/butspace.h b/source/blender/include/butspace.h
index 54af18adfb3..2c83b50e6e3 100644
--- a/source/blender/include/butspace.h
+++ b/source/blender/include/butspace.h
@@ -209,11 +209,14 @@ void butspace_context_switch(SpaceButs *buts, struct Base *new);
#define B_ANIMBUTS 1500
#define B_RECALCPATH 1401
-
+#define B_TRACKBUTS 1402
+#define B_DEL_HOOK 1403
+#define B_CLR_HOOK 1404
#define B_PRINTSPEED 1413
#define B_PRINTLEN 1414
#define B_RELKEY 1415
+#define B_CURVECHECK 1416
/* this has MAX_EFFECT settings! Next free define is 1450... */
#define B_SELEFFECT 1430