June 3, 2009, 14:55 (GMT) |
This is coverity issue: CID: 595 Checker: OVERRUN_STATIC (help) File: base/src/source/blender/python/api2_2x/sceneSequence.c Function: Sequence_setProxyDir Description: Overrun of static array "&((((self)->seq)->strip)->proxy)->dir" of size 160 bytes by passing it to a function which indexes it with argument "248" at byte position 247 Wasn't using the size of dir it was using the sizeof the struct dir is in. Fixed. Kent |
Revision 2e89796 by Andre Susano Pinto June 3, 2009, 14:42 (GMT) |
RayObject to support instances.. its not still plugged in the renderer, as so, it hasn't been tested yet |
Revision f6cac5b by Joshua Leung June 3, 2009, 11:22 (GMT) |
NLA SoC: More Drawing Tweaks * Following user feedback, I've increased the separation between normal NLA-tracks and the 'action lines' to try and differentiate them more. This hopefully this will be sufficient, otherwise, I'm going to have to abandon the use of nice, generic channel-identification code for lists of channels... * Improved drawing of 'active' strips. - Now, the active strip (when NOT being 'tweaked') will be simply drawn as a yellow strip + a white border. - The active strip (when BEING 'tweaked') will now be greenish + a white border. The colour here may be tweakable, but we'll see... * Strip extrapolation modes (hold, etc.) are now visualised as rects with alpha and the same colour as the strip they belong to. * Selecting strips now makes them 'active' (and deactivates the others). Only one strip can be active at a time. Still need to figure out precisely how this will work with multiple AnimData blocks + NLA-'tweaking'. * Fixed view-matrix bug introduced in last commit for text drawing. For now, we'll just reset the view matrix after doing that, since it's not too acceptable to move these calls to the end yet, as they should get overlapped by some other editor features (such as the Current Frame indicator) |
Revision 9b86975 by Thomas Dinges June 3, 2009, 09:06 (GMT) |
Cloth Buttons: Cloth Collision settings dindt't use the new button space context data. |
Revision 9037222 by Campbell Barton June 3, 2009, 04:12 (GMT) |
BGE PyAPI fixes - CValue warning ShowDeprecationWarning("val = ob.attr", "val = ob['attr']"); had false positives because of python using getattr() internally. Only show the wanring now when a CValue is found. - Py functions that accepted a vector and a GameObject were slowed down by PySequence_Check() first called on the GameObject, though this would fail it would try and get attributes from the game object - ending up in ~8 attribute lookups each time. Avoiding PySequence_Check() makes ob.getDistanceTo(otherOb) over twice as fast. - Joystick hat events could crash the BGE for joysticks with more then 4 hats. - PLY Import failed on PLY files from Carve, added some extra types. |
Revision a3c0730 by Robin Allen June 3, 2009, 00:40 (GMT) |
RNA: more compositor nodes wrapped |
Revision dc7d0ef by Brecht Van Lommel June 3, 2009, 00:17 (GMT) |
UI: * Add Lamp Fallof Curve and Texture Color Ramp panels. * Use button space context data. * A few other minor python layout script updates. |
Revision abfc3da by Brecht Van Lommel June 3, 2009, 00:14 (GMT) |
UI: * Added initial color ramp and curve mapping templates. |
Revision 084be86 by Brecht Van Lommel June 3, 2009, 00:09 (GMT) |
UI: * Make modifier and constraint templates use left/right alignment for buttons in the header. * Added mdef bind operator as an example of how to use local context for a modifier, and add some code I forgot to commit last time to make this system actually work. |
Revision 9ed9aca by Brecht Van Lommel June 3, 2009, 00:04 (GMT) |
UI: * Implemented scale_x/scale_y for layouts. * Implemented left/right/center/expand alignment for row layouts. |
Revision 7498561 by Brecht Van Lommel June 3, 2009, 00:01 (GMT) |
2.5: * Button space context now includes most data so python code doesn't have to look it up manually, and to plug-in context browsing later. |
Revision 5b2737a by Brecht Van Lommel June 2, 2009, 23:56 (GMT) |
2.5: * Fix crash adding rigid body constraint. * Give new nodetrees NT in ID name to make them recognizned by RNA, even if the nodetrees aren't actual ID datablock. |
Revision c2d2b1c by Brecht Van Lommel June 2, 2009, 23:53 (GMT) |
RNA * Fix an issue where the pointer types wasn't always refine to the most specific type, now RNA_pointer_create also does this for convenience. * Make lamp fallof type editable. |
Revision c09cbac by Arystanbek Dyussenov June 2, 2009, 20:16 (GMT) |
Continuing OBJ exporter conversion. - export is initiated by an operator, output filepath is hardcoded for now. - added code in bpy_interface.c to put 'scripts/bpymodules' in sys.path. - no UI atm, using default option values, don't know how to do it yet |
June 2, 2009, 19:29 (GMT) |
This commit fixes the following two coverity issues: CID: 475 Checker: REVERSE_INULL (help) File: base/src/source/blender/blenkernel/intern/cloth.c Function: bvhselftree_build_from_cloth Description: Pointer "clmd" dereferenced before NULL check CID: 476 Checker: REVERSE_INULL (help) File: base/src/source/blender/blenkernel/intern/cloth.c Function: bvhtree_build_from_cloth Description: Pointer "clmd" dereferenced before NULL check You'll notice in the code the var is actually set again a few lines down before being used so better to set it after you've made sure the pointer is valid. Kent |
Revision ca24322 by Ton Roosendaal June 2, 2009, 18:10 (GMT) |
2.5 Part one of new text button type: SEARCH_MENU This opens a popup showing all matches for a typed string, nice for object names, materials, operators, and so on. Warning: Currently menu doesn't function yet! Only draws choices. As test I've added an operator search button in top bar. It only shows operators that can be used in this context now. Also that is part of the WIP, tomorrow more fun :) |
Revision 0b3e477 by Benoit Bolsee June 2, 2009, 17:05 (GMT) |
iTaSC: various bug fix. Don't store MovingFrame initial pose in the cache: it creates unnecessary large velocity on first iteration. Adapt CopyPose in consequence. Decompose spherical joint in RX+RY+RZ to get same behavior as iksolver. Fix bug in auto timestep causing slow convergence. |
Revision 67494dc by Ton Roosendaal June 2, 2009, 16:40 (GMT) |
2.5 Crash; reading NULL pointer in poll() callback for UV edit. Note: poll() is ONLY for checking context, not for changing things. |
Revision ccea9b9 by Benoit Bolsee June 2, 2009, 13:14 (GMT) |
iTaSC: fix bug with initial simulation test not reproductible. CopyPose Jacobian was not correctly restored from cache. |
Revision 8afd6a9 by Joshua Leung June 2, 2009, 13:03 (GMT) |
NLA SoC: Added basic info-text drawing on strips The format of these is still rather experimental. |
|