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
AgeCommit message (Collapse)Author
2012-12-12remove context argument from EDBM_update_generic()Campbell Barton
2012-12-12add destructive argument to bmesh.update_edit_mesh()Campbell Barton
2012-12-08ifdef out dynstr so mathutils can be compiled as an external module again.Campbell Barton
2012-12-06bump python requirement to 3.3Campbell Barton
2012-12-05update parse_syntax_error() from python3.3 - this is an internal python ↵Campbell Barton
function that isn't exposed to the api.
2012-12-04fix for python button evaluation not restoring the __main__ module.Campbell Barton
2012-12-04fix for typo when overwriting pythons stdout/stderr, also print errors if ↵Campbell Barton
they happen here now.
2012-12-03re-apply a workaround for [#31555] Username with special chars in Windows 7Campbell 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-03fix 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-02change uiButGetStrInfo() to use a trailing NULL arg rather then passing the ↵Campbell Barton
number of args as an arg.
2012-11-29fix [#33029] Applying modifier leaks memoryCampbell 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-29py/bmesh api: add radial prev/next attributes to the loopCampbell Barton
2012-11-29bmesh 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-29some minor editsCampbell 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-29bmesh 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-29bmesh py api: add BMeshFaceSeq.active attribute- bm.faces.activeCampbell Barton
2012-11-28bmesh 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-28use 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-27replace and exception macro's for static functions and fix some bad assumptions.Campbell Barton
2012-11-27split py->slot & slot->py into their own functions & fixed some mistakes ↵Campbell Barton
with conversion.
2012-11-27move bmesh operator calling into its own file.Campbell Barton
2012-11-27add empty files (will move bmesh operator calling here)Campbell Barton
2012-11-27py/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-27bmesh/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-26py/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type.Campbell Barton
2012-11-26add subtypes to bmesh operators (needed for python api to know how to ↵Campbell Barton
convert return values).
2012-11-22avoid 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-22add missing bgl and gpu api docstrings (found using docstring completeness ↵Campbell Barton
checker)
2012-11-21py 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-21py 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-20py api: add mapping support to bmesh operator return values.Campbell Barton
2012-11-20py api: remove ".out" from the names of dict keys returned from bmesh operators.Campbell Barton
2012-11-20bmesh operator api edits, add macros and NULL the buffer if ↵Campbell Barton
BMO_slot_buffer_alloc()'s len is zero.
2012-11-20bmesh py api: add support for return values from bmesh operators.Campbell Barton
2012-11-19use input and output slots for bmesh operators, needed for the python api to ↵Campbell Barton
get return values.
2012-11-19bmesh: 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-18style cleanup: comments & spellingCampbell Barton
2012-11-12code cleanup: spelling,Campbell Barton
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later.
2012-11-09style cleanup: indentationCampbell Barton
2012-11-06was trying to make py import follow pythons own code more but broke py32 ↵Campbell Barton
compat. this should fix
2012-11-06fix for imp.reload() with Python3.3, function was recursively calling its self.Campbell Barton
2012-11-05hopefully fixes building on msvc, also some minor header editsCampbell Barton
2012-11-05default 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-04code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few ↵Campbell Barton
files since its done throughout the code in some places.
2012-11-03code cleanup: float <> double conversion.Campbell Barton
2012-11-03style cleanup: tabs & whitespaceCampbell Barton
2012-11-03BPY/RNA: determine callback functions that are allowed to write data by a flagBrecht Van Lommel
on the function instead of checking the name.
2012-11-01all library data now gets the PointerRNA's invalidated on removal.Campbell Barton
2012-11-01fix 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-01fix [#30910] Problems: Add Shortcut(s) for "Ctrl Tab" menuCampbell 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.