Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-12 | remove context argument from EDBM_update_generic() | Campbell Barton | |
2012-12-12 | add destructive argument to bmesh.update_edit_mesh() | Campbell Barton | |
2012-12-08 | ifdef out dynstr so mathutils can be compiled as an external module again. | Campbell Barton | |
2012-12-06 | bump python requirement to 3.3 | Campbell Barton | |
2012-12-05 | update parse_syntax_error() from python3.3 - this is an internal python ↵ | Campbell Barton | |
function that isn't exposed to the api. | |||
2012-12-04 | fix for python button evaluation not restoring the __main__ module. | Campbell Barton | |
2012-12-04 | fix for typo when overwriting pythons stdout/stderr, also print errors if ↵ | Campbell Barton | |
they happen here now. | |||
2012-12-03 | re-apply a workaround for [#31555] Username with special chars in Windows 7 | Campbell Barton | |
this time keep the stderr/stdout so there FD's are not closed (causing [#32720]). This workaround is ugly but saves us from using a patched python. | |||
2012-12-03 | fix own mistake with recent commit to skip calculating tessface. If you were ↵ | Campbell Barton | |
already in editmode the tessfaces wouldn't get recalculated. also minor edits to bmesh rst. | |||
2012-12-02 | change uiButGetStrInfo() to use a trailing NULL arg rather then passing the ↵ | Campbell Barton | |
number of args as an arg. | |||
2012-11-29 | fix [#33029] Applying modifier leaks memory | Campbell Barton | |
Thanks for Sergey for finding the bug & patching, This fix works a bit differently. Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation. | |||
2012-11-29 | py/bmesh api: add radial prev/next attributes to the loop | Campbell Barton | |
2012-11-29 | bmesh py api: add bmesh.update_edit_mode(), there was no way to redraw the ↵ | Campbell Barton | |
3d view or re-calculate face tessellation from python. add py template for editing meshes in editmode. also remove double call to CTX_wm_region which does a string lookup. | |||
2012-11-29 | some minor edits | Campbell Barton | |
- script stub printed resource warning with py3.3 (not closing a file). - bmesh customdata layer access had bad docstring. - float/double conversion warnings in sequencer code (use doubles since result is double) - remove unused var | |||
2012-11-29 | bmesh py api: use generic checking macros to see if an object if from the ↵ | Campbell Barton | |
same bmesh. - was such a common operation so this saves having exceptions set inline all over the place. | |||
2012-11-29 | bmesh py api: add BMeshFaceSeq.active attribute- bm.faces.active | Campbell Barton | |
2012-11-28 | bmesh operator py api: | Campbell Barton | |
- fix for incorrect bmesh operator type-check for mapping slots. - fix for python causing an assert when invalid args are given. - fix memory leak with some exceptions. | |||
2012-11-28 | use radians for 'spin' bmesh operator (since the rest of the py api uses ↵ | Campbell Barton | |
radians). also rename BMO_OP_SLOT_SUBTYPE_MAP_FLOAT -> BMO_OP_SLOT_SUBTYPE_MAP_FLT for consistency. | |||
2012-11-27 | replace and exception macro's for static functions and fix some bad assumptions. | Campbell Barton | |
2012-11-27 | split py->slot & slot->py into their own functions & fixed some mistakes ↵ | Campbell Barton | |
with conversion. | |||
2012-11-27 | move bmesh operator calling into its own file. | Campbell Barton | |
2012-11-27 | add empty files (will move bmesh operator calling here) | Campbell Barton | |
2012-11-27 | py/bmesh api - add support for single item buffers (odd feature but used ↵ | Campbell Barton | |
quite a bit with bmesh operators). also add utility functions BMO_slot_buffer_from_single(), BMO_slot_buffer_get_single() | |||
2012-11-27 | bmesh/py operator api: | Campbell Barton | |
add type checking for element buffers, there was nothing stopping python from passing any element type into an argument when in some cases only verts/edges/faces were expected. now operator args define which types they support. | |||
2012-11-26 | py/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type. | Campbell Barton | |
2012-11-26 | add subtypes to bmesh operators (needed for python api to know how to ↵ | Campbell Barton | |
convert return values). | |||
2012-11-22 | avoid string -> unicode conversion when registering classes, also avoid ↵ | Campbell Barton | |
unlikely but possible crash if the py-class returns new instances of PyObjects it doesnt own when registering the class. | |||
2012-11-22 | add missing bgl and gpu api docstrings (found using docstring completeness ↵ | Campbell Barton | |
checker) | |||
2012-11-21 | py api cleanup, replace use... | Campbell Barton | |
- PyLong_FromSsize_t --> PyLong_FromLong - PyLong_AsSsize_t --> PyLong_AsLong In all places except for those where python api expects PySsize_t (index lookups mainly). - use PyBool_FromLong in a few areas of the BGE. - fix incorrect assumption in the BGE that PySequence_Check() means PySequence_Fast_ functions can be used. | |||
2012-11-21 | py api: BMesh.from_object() was using the derivedFinal, which isn't always ↵ | Campbell Barton | |
available - or may not have UV data if in the wireframe view. update the function to calculate the derived mesh with bmesh data-mask each time. resolves bug [#33205] Bmesh "from_object" gives "no usable mesh data". also found 'mesh_build_data' could run with non mesh objects and fail silently - add an assert. | |||
2012-11-20 | py api: add mapping support to bmesh operator return values. | Campbell Barton | |
2012-11-20 | py api: remove ".out" from the names of dict keys returned from bmesh operators. | Campbell Barton | |
2012-11-20 | bmesh operator api edits, add macros and NULL the buffer if ↵ | Campbell Barton | |
BMO_slot_buffer_alloc()'s len is zero. | |||
2012-11-20 | bmesh py api: add support for return values from bmesh operators. | Campbell Barton | |
2012-11-19 | use input and output slots for bmesh operators, needed for the python api to ↵ | Campbell Barton | |
get return values. | |||
2012-11-19 | bmesh: BM_verts_in_face was using bmesh operator flag which is no longer ↵ | Campbell Barton | |
ensured to be available, use internal apiflag instead, Thanks to Nicholas Bishop for spotting. also quiet some warnings. | |||
2012-11-18 | style cleanup: comments & spelling | Campbell Barton | |
2012-11-12 | code cleanup: spelling, | Campbell Barton | |
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later. | |||
2012-11-09 | style cleanup: indentation | Campbell Barton | |
2012-11-06 | was trying to make py import follow pythons own code more but broke py32 ↵ | Campbell Barton | |
compat. this should fix | |||
2012-11-06 | fix for imp.reload() with Python3.3, function was recursively calling its self. | Campbell Barton | |
2012-11-05 | hopefully fixes building on msvc, also some minor header edits | Campbell Barton | |
2012-11-05 | default to Python3.3 on Linux for SCons and CMake, warn when building with ↵ | Campbell Barton | |
python 3.2x or older. also remove casts to keep Python3.2 warning quiet. | |||
2012-11-04 | code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few ↵ | Campbell Barton | |
files since its done throughout the code in some places. | |||
2012-11-03 | code cleanup: float <> double conversion. | Campbell Barton | |
2012-11-03 | style cleanup: tabs & whitespace | Campbell Barton | |
2012-11-03 | BPY/RNA: determine callback functions that are allowed to write data by a flag | Brecht Van Lommel | |
on the function instead of checking the name. | |||
2012-11-01 | all library data now gets the PointerRNA's invalidated on removal. | Campbell Barton | |
2012-11-01 | fix for long standing problem with blender 2.5x py api. | Campbell Barton | |
Removing data then accessing would allow invalid memory access and often crash. Example: import bpy image = bpy.data.images.new(name="a", width=5, height=5) bpy.data.images.remove(image) print(image.name) Now access to the removed data raises an error: ReferenceError: StructRNA of type Image has been removed This is the same level of error checking that was done in blender 2.4x but was made difficult by RNA functions not having access to the PyObject's. | |||
2012-11-01 | fix [#30910] Problems: Add Shortcut(s) for "Ctrl Tab" menu | Campbell Barton | |
comparing keymaps was too sloppy or too strict, now sloppy keymap comparison works by setting all the operator properties to their default values if they are not already set, then compare this with the keymap item (ignoring values missing from either one). ... this way any non default keymap setting wont match with an operator menu item which doesnt set this operator at all (a problem sighted in this bug report). developer notes: - IDP_EqualsProperties_ex() function adds an argument to treat missing members of either group to act as if there is a match. - WM_operator_properties_default() function to reset RNA values to their defaults. - add IDP_spit(), debug only function to print out ID properties. |