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
2019-11-28Fix (unreported) broken python resgistrable classes checks logic.Bastien Montagne
Logic for registering and checking properties of registrable classes was broken, allowing to ignore some errors. Recent fix rBeb798de101a `broke` the result of the pyapi_idprop_datablock test, because previously that test would fail (i.e. suceed, as it is an 'expected to break test') for a reason it was not designed to check. This is the problem with that kind of tests - you cannot really check that they are failing on the expected reason(s)...
2019-11-27Fix T71865: Separating mesh parts breaks shape keysCampbell Barton
This was an old bug which could be caused by saving after separating. Changes from 79b703bb635e made this fail reliably. Update shape key indices when they may be used again later.
2019-11-26PyAPI: add Quaternion.make_compatibleCampbell Barton
2019-11-26Fix T71806: BMElem.copy_from(other) failedCampbell Barton
Don't modify the Python reference when copying custom-data.
2019-11-24Cleanup: doxygen commentsCampbell Barton
Also correct some outdated symbol references, add missing 'name' commands.
2019-11-20Cleanup: commentsCampbell Barton
2019-11-20Fix T71680: _PyObject_LookupAttr memory leakCampbell Barton
2019-11-15Merge branch 'blender-v2.81-release'Campbell Barton
2019-11-15Docs: correct indent for to_swing_twist docstringCampbell Barton
2019-11-07Merge branch 'blender-v2.81-release'Bastien Montagne
2019-11-07Cleanup: remove debugging prints for bpy.msgbusCampbell Barton
2019-11-06Mathutils: expose the utility to find the closest point of a triangle.Alexander Gavrilov
This computation is complex and useful enough to expose the existing C math utility used by BVH nearest to Python. Otherwise this requires the use of intersect_point_tri and multiple intersect_point_line calls with some added vector math. Differential Revision: https://developer.blender.org/D6200
2019-10-22Merge branch 'blender-v2.81-release'Campbell Barton
2019-10-22Cleanup: remove BLI_dynstr use in py_capi_utilsCampbell Barton
Needed for standalone mathutils module.
2019-10-17Cleanup: spellingCampbell Barton
Also remove historic bftgl reference.
2019-10-16PyAPI: use public API's for module & builtin accessCampbell Barton
D6038 by @Dormouse
2019-10-16Cleanup: define PY_SSIZE_T_CLEAN for PythonCampbell Barton
Silence deprecation warnings running with Python 3.8.
2019-10-16Cleanup: warnings building with Python 3.8Campbell Barton
2019-10-16Fix for building with Python 3.8Campbell Barton
2019-10-10Cleanup: clang-format, spellingCampbell Barton
2019-10-09PyAPI: drop Vector requirement for tessellate_polygonCampbell Barton
Use mathutils_array_parse which converts any sequence of numbers.
2019-10-09PyAPI: avoid normal calculation for tessellate_polygonCampbell Barton
Use fixed normal for 2D input, no need to calculate it.
2019-10-07Fix T70537: Documentation: bpygpu_offscreen_draw_view3d_doc not up to dateUlysse Martin
2019-10-04Fix T70481: Segfault printing 'private data' evaluated IDs.Bastien Montagne
This commit solves the bug itself (code was broken when real_id owner of the private data ID could not be found), and generates a more sensible representation for all evaluated IDs, makes no sense to display them as being part of `bpy.data....`!
2019-10-01Fix ImBuf.load failure showing filename as garbage bytesColin Basnett
Differential Revision: https://developer.blender.org/D5879
2019-09-30Cleanup: use PyC_StringEnum to path access functionsCampbell Barton
This gives better error messages, simplify code.
2019-09-30ImBuf Py API: implement resize method argumentCampbell Barton
2019-09-30PyC API: utility to parse a string as an RNA like enumCampbell Barton
More convenient than comparing strings, with the advantage that errors don't need to repeat expected values.
2019-09-30Cleanup: spellingCampbell Barton
2019-09-25Added missing documentation for `options` parameter in `keyframe_insert()`Sybren A. Stüvel
The RNA docstring of `keyframe_insert()` didn't mention the `options` parameter in the function signature. No functional changes.
2019-09-25LibOverride: Fix 'overridable' flag desapearing when setting IDProp from py ↵Bastien Montagne
code. Do not see any reason not to copy over the flag of the old, existing IDProp to the new one when assigning (e.g. `C.object['prop'] = 0.5` would nuke that IDProp flag).
2019-09-25Cleanup: remove override's 'static' references in some py API docs strings.Bastien Montagne
2019-09-23Fix T70177: Crash when calling to_track_quat() without argumentsJacques Lucke
2019-09-23ImBuf: add planes, channels attributesCampbell Barton
D5857 by @cmbasnett
2019-09-22Mathutils: expose the swing + twist Quaternion decomposition to Python.Alexander Gavrilov
This decomposition is useful in rigging, and involves a math trick.
2019-09-19Fix T70060: Add bgl wrapper for glVertexAttribIPointerJacques Lucke
2019-09-16Revert "PyAPI: expose OperatorType.modal_keymap"Campbell Barton
This reverts commit b53ee963b16d817a6367bd7c73b866036868b2e2. Full support for defining modal enums and access through events is more involved, revert for now.
2019-09-16PyAPI: expose OperatorType.modal_keymapCampbell Barton
Support assigning modal keymaps once the operator is registered.
2019-09-16ImBuf Py API: add filepath accessCampbell Barton
D5804 by @cmbasnett with setter support added.
2019-09-16ImBuf Py API: rename filename to filepathCampbell Barton
Match RNA image naming.
2019-09-13Cleanup: unused headers (GPU)Campbell Barton
2019-09-11Python: Fix to support old-style handlersSergey Sharybin
Can not re-use single typle even if there is a single input pointer: the all-arguments-typle consists of 2 elements.
2019-09-11Python handlers: Pass depsgraph to events where it makes senseSergey Sharybin
The goal is to make it possible to access evaluated datablocks at a corresponding context. For example, be able to check evaluated state if an object used for rendering. Allows to write scripts in a safe manner for T63548 and T60094. Reviewers: brecht Differential Revision: https://developer.blender.org/D5726
2019-09-11Depsgraph: Pass bmain to depsgraph object creationSergey Sharybin
Currently unused, but will allow to keep of an owner of the depsgraph. Could also simplify other APIs in the future by avoiding to pass bmain explicitly to relation update functions and things like that.
2019-09-09Cleanup: trailing space, remove tabs, pep8Campbell Barton
2019-09-09Move callbacks API from BLI to BKESergey Sharybin
Preparing for the bigger changes which will be related on passing dependency graph to various callbacks which need it. Differential Revision: https://developer.blender.org/D5725
2019-09-07Cleanup: use post increment/decrementCampbell Barton
When the result isn't used, prefer post increment/decrement (already used nearly everywhere in Blender).
2019-09-06Python API: implement an Operator callback for dynamic description.Alexander Gavrilov
Blender UI Layout API allows supplying parameters to operators via button definitions. If an operator behavior strongly depends on its parameters, it may be difficult to write a tooltip that covers all of its operation modes. Thus it is useful to provide a way for the operator to produce different descriptions based on the input info. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5709
2019-09-03Add OpenSubdiv information to bpy.appSergey Sharybin
Allows to customize interface and inform about lack of subdivision surface support.
2019-09-02Return proper RNA path in py console for 'private ID' data.Bastien Montagne
We can now generate a proper path here, make use of it. Note: not sure how property pyrna path is supposed to be accessed? code is similar to the struct pyrna path anyway...