Draw.py - typo
sceneSequence.h - bad type check, dosnt matter really since that define isnt used yet. SurfNurb.c - was using lib hashing function and surfNurbs not a lib! (own mistake) buttons_editing.c - Curves PathLen button was MAXFRAMEF and pathlen is a short so the button wrapped around.
This commit is contained in:
parent
f8544eefad
commit
48b07b7f15
@ -772,7 +772,7 @@ PyTypeObject SurfNurb_Type = {
|
||||
|
||||
/* More standard operations (here for binary compatibility) */
|
||||
|
||||
( hashfunc ) GenericLib_hash, /* hashfunc tp_hash; */
|
||||
NULL, /* hashfunc tp_hash; */
|
||||
NULL, /* ternaryfunc tp_call; */
|
||||
NULL, /* reprfunc tp_str; */
|
||||
NULL, /* getattrofunc tp_getattro; */
|
||||
|
@ -249,7 +249,7 @@ def UIBlock(draw):
|
||||
@note: Within this popup, Redraw events and the registered button callback will not work.
|
||||
For buttons to run events, use per button callbacks.
|
||||
@note: OpenGL drawing functions wont work within this popup, for text use L{Label} rather then L{Text}
|
||||
@warning: L{Menu} will not work properly within a UIBlock, this is a limitation with blenders user user interface internals.
|
||||
@warning: L{Menu} will not work properly within a UIBlock, this is a limitation with blenders user interface internals.
|
||||
"""
|
||||
|
||||
def Register(draw = None, event = None, button = None):
|
||||
|
@ -41,7 +41,7 @@ extern PyTypeObject Sequence_Type;
|
||||
extern PyTypeObject SceneSeq_Type;
|
||||
|
||||
#define BPy_Sequence_Check(v) ((v)->ob_type == &Sequence_Type)
|
||||
#define BPy_SceneSeq_Check(v) ((v)->ob_type == &Sequence_Type)
|
||||
#define BPy_SceneSeq_Check(v) ((v)->ob_type == &SceneSeq_Type)
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -3008,7 +3008,8 @@ static void editing_panel_curve_type(Object *ob, Curve *cu)
|
||||
uiDefBut(block, LABEL, 0, str, 675,135,75,19, 0, 1.0, 0, 0, 0, "");
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefButS(block, NUM, B_RECALCPATH, "PathLen:", 600,50,150,19, &cu->pathlen, 1.0, MAXFRAMEF, 0, 0, "If no speed Ipo was set, the amount of frames of the path");
|
||||
/*note, PathLen's max was MAXFRAMEF but this is a short, perhaps the pathlen should be increased later on */
|
||||
uiDefButS(block, NUM, B_RECALCPATH, "PathLen:", 600,50,150,19, &cu->pathlen, 1.0, 32767.0f, 0, 0, "If no speed Ipo was set, the amount of frames of the path");
|
||||
uiDefButBitS(block, TOG, CU_PATH, B_RECALCPATH, "CurvePath", 600,30,75,19 , &cu->flag, 0, 0, 0, 0, "Enables curve to become translation path");
|
||||
uiDefButBitS(block, TOG, CU_FOLLOW, REDRAWVIEW3D, "CurveFollow",675,30,75,19, &cu->flag, 0, 0, 0, 0, "Makes curve path children to rotate along path");
|
||||
uiDefButBitS(block, TOG, CU_STRETCH, B_CURVECHECK, "CurveStretch", 600,10,150,19, &cu->flag, 0, 0, 0, 0, "Option for curve-deform: makes deformed child to stretch along entire path");
|
||||
|
Loading…
Reference in New Issue
Block a user