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-04 11:25:43 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-08-04 11:25:43 +0400
commit8319b3d1fa3f1c594cd03cc04c153bc26174c7a7 (patch)
tree10011ed80ddb01327f341e207dc455282b1309c5 /source/blender/blenkernel/BKE_modifier.h
parent85704d6ef915f4975b9839cbf034cd8210d2f2e6 (diff)
- modifier UI update (aka, find the modifier buttons!!)
- moved back to editing buttons, where life is now cramped... switched to constraint style foldout panes, still a WIP. In particular not sure what buttons should be in header (and if current toggles stay in header if they should also be in an expanded pane). Also need new icons for move up/move down (and drag and drop would of course be nice). Finally current plane is to make it so modifiers will expand out in modifier pane for horizontal orientations instead of just going down down down to goblin town. - added error field to modifiers that is displayed in UI, need to have some way for modifiers to return errors back to interface (esp. important for python) - tweaked cage determination and handling, currently the editmode cage is determined by last modifier with OnCage set that is preceeded completely by modifiers that support mapping or are disabled in editmode. it is kinda confusing, but the interface only lets you toggle OnCage for modifiers that support it - it just might not be clear all the time why you can't toggle a certain modifier OnCage. - update displistmesh_copy to only copy edges if non-NULL There is a display bug that already existed but is more obvious with new modifiers where parts of the pane get drawn in a different area after toggling editmode. It has to do with drawing parts of the interface using GL instead of 100% buttons. I try to keep my grubby little toes out of the interface code so this can wait for Ton to return.
Diffstat (limited to 'source/blender/blenkernel/BKE_modifier.h')
-rw-r--r--source/blender/blenkernel/BKE_modifier.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_modifier.h b/source/blender/blenkernel/BKE_modifier.h
index b584fca68e1..19fc11424ce 100644
--- a/source/blender/blenkernel/BKE_modifier.h
+++ b/source/blender/blenkernel/BKE_modifier.h
@@ -180,8 +180,12 @@ void modifier_free (struct ModifierData *md);
void modifier_copyData (struct ModifierData *md, struct ModifierData *target);
int modifier_dependsOnTime (struct ModifierData *md);
int modifier_supportsMapping(struct ModifierData *md);
+int modifier_couldBeCage (struct ModifierData *md);
+void modifier_setError (struct ModifierData *md, char *format, ...);
struct ModifierData* modifiers_findByType (struct ListBase *lb, ModifierType type);
+void modifiers_clearErrors (struct ListBase *lb);
+int modifiers_getCageIndex (struct ListBase *lb, int *lastPossibleCageIndex_r);
#endif