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
2018-04-02PyAPI: Add PyC_Tuple_Pack_F64 utilityCampbell Barton
2018-04-02Cleanup: newlines left in messagesCampbell Barton
2018-04-02Logging: use for Python APICampbell Barton
Adds categories "bpy.context" & "bpy.rna"
2018-04-01Correct accidental changes by C Logging additionCampbell Barton
Error in 891c1cfc9a3
2018-03-30C Logging: use instead of printf for messagesCampbell Barton
- See `--log` help message for usage. - Supports enabling categories. - Color severity. - Optionally logs to a file. - Currently use to replace printf calls in wm module. See D3120 for details.
2018-03-29PyDocs: Adde link to Wikipedia page for mathutils.Euler classAaron Carlisle
This update adds a link to the Wikipedia article "Euler angles" to the description of the mathutils.Euler class. I initially was not sure what a "Euler" represented in Blender API, but found the Wikipedia article helpful. I believe others will find the link helpful too if it appears in the class documentation. This is similar to the Wikipedia links that appear in the mathutils.Matrix class, e.g: https://docs.blender.org/api/blender_python_api_current/mathutils.html?highlight=euler#mathutils.Matrix.adjugate Author: @justasb Reviewers: campbellbarton, trumanblending, Blendify Reviewed By: Blendify Subscribers: Blendify Tags: #bf_blender Differential Revision: https://developer.blender.org/D3077
2018-03-19Fixed typo Python APIJeroen Bakker
`mathutils.geometry.barycentric_transform` used `tri_a[1-3]` for the target triangle, but in fact they are `tri_b[1-3]`
2018-03-18mathutils: replace interp w/ blend when standaloneCampbell Barton
2018-03-16Depsgraph: Support colored addresses in debug printsSergey Sharybin
Enabled with --debug-depsgraph-pretty, only works with ANSI terminals. Thanks Bastien for review!
2018-03-12Depsgraph: Make timing profile a command line optionSergey Sharybin
This way we can add even more statistics, even one which will be print to the console. Would be nice if we also have verbosity level control.
2018-02-21Depsgraph: Split debug flagsSergey Sharybin
Now it's possible to have debug messages for following things: - Graph construction - Graph evaluation - Graph tagging
2018-02-19Fix T54098: Crash existing /w dyntopo sculptCampbell Barton
Optionally don't remap indices for objects. Checking all objects parent's would reference a freed pointer while freeing all objects. In the case of dynamic topology there is no use in keeping track of hook/vertex-parent indices. Also disable this when creating meshes for undo storage since adding an undo step shouldn't be modifying other objects.
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2018-02-08Remove Carve booleanSergey Sharybin
We've got quite comprehensive BMesh based implementation, which is way easier for maintenance than abandoned Carve library. After all the time BMesh implementation was working on the same level of limitations about manifold meshes and touching edges than Carve. Is better to focus on maintaining one boolean implementation now. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3050
2018-01-18Improved docstring of mathutils.Matrix.lerp()Sybren A. Stüvel
2018-01-18Improve docstring for mathutils.Matrix.decompose()Sybren A. Stüvel
2018-01-16Cleanup: indentationCampbell Barton
2018-01-15RNA: Add RNA_property_string_set_bytesCampbell Barton
This is needed to set values that contain zero bytes (where the length isn't fixed).
2018-01-12Fix bmesh.utils.face_join arg parsingCampbell Barton
2017-12-11DNA/RNA: add 'py_instance' for ID typesCampbell Barton
Avoid creating new Python instances every time a scene, object, mesh .. etc are accessed. Also resolves crashes T28724, T53530 although it's only valid for ID types, not modifiers vertices etc. Back-ported from blender2.8 branch.
2017-12-04Cleanup: styleCampbell Barton
2017-11-29Cleanup: rename bpy_util -> bpy_capi_utilsCampbell Barton
This is for internal CAPI use only, avoid confusion w/ bpy.utils module.
2017-11-29PyAPI: add function to check any mathutils typeCampbell Barton
Also add CheckExact versions of type checking macros.
2017-11-29RNA: Allow structs to define tags for their propertiesJulian Eisel
Adds support for defining a number of tags as part of the rna-struct definition, which its properties can set similar to property-flags. BPY supports setting these tags when defining custom properties too. * To define tags for a struct (which its properties can use then), define the tags in an `EnumPropertyItem` array, and assign them to the struct using `RNA_def_struct_property_tags(...)`. * To set tags for an RNA-property in C, use the new `RNA_def_property_tags(...)`. * To set tags for an RNA-property in Python, use the newly added tags parameter. E.g. `bpy.props.FloatProperty(name="Some Float", tags={'SOME_TAG', 'ANOTHER_TAG'})`.
2017-11-29PyAPI: PyC_Err_PrintWithFunc utility functionCampbell Barton
Move function error printing utility into py_capi_utils.
2017-11-14Cleanup: order BLI before BKE headersCampbell Barton
This was done nearly everywhere already
2017-11-12BMesh Py API: Expose color alphaCampbell Barton
2017-10-27Docs: clarify return value for BVH APICampbell Barton
2017-10-24Fix BMesh PyAPI internal flag clearing logicCampbell Barton
Would leave the flag set on raising an exception.
2017-10-23Docs: improve bmesh exception messageCampbell Barton
Suggested in T53131
2017-10-20Cleanup: redundant castsCampbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-17Fix T53074: Use the pybuffer->itemsize to get the corresponding GLtypeGermano
It seems that `typestr` does not always define the final size of the element. And it varies by operating system. Then use the `typestr` only to know the itemtype is `float` type or not.
2017-10-15Fix bad 'poll' prop callback API doc.Bastien Montagne
This was added to all prop types, when it is only available for Pointer ones.
2017-10-12Docs: add note for bmesh face_split_edgenetCampbell Barton
2017-10-06Cleanup: styleCampbell Barton
2017-10-05PyAPI: fast keyword parsing for bpy modulesCampbell Barton
No functional changes.
2017-10-05Fix setting the operator name in Py operator APICampbell Barton
2017-10-04Cleanup: redundant castsCampbell Barton
2017-10-04PyAPI: fast keyword parsing for __import__Campbell Barton
No functional changes.
2017-10-04PyAPI: fast keyword parsing for bpy.propsCampbell Barton
No functional changes.
2017-10-03Python: bump minimum version to 3.6Campbell Barton
2017-09-28Cleanup: switch fall-through warningCampbell Barton
2017-09-27bgl module: extend `gl_buffer_type_from_py_format_char` function to work ↵Germano
with more string formats Only basic types of character codes were being used
2017-09-27Cleanup: warningCampbell Barton
2017-09-27bgl module: Interpret a buffer as a bgl.BufferGermano
Differential Revision: https://developer.blender.org/D2857
2017-09-22Remove quicktime supportAaron Carlisle
It has been deprecated since at least macOS 10.9 and fully removed in 10.12. I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens. Reviewers: mont29, dfelinto, juicyfruit, brecht Reviewed By: mont29, brecht Subscribers: Blendify, brecht Maniphest Tasks: T52807 Differential Revision: https://developer.blender.org/D2333
2017-09-22Cleanup: unused defineCampbell Barton
2017-09-19Cleanup: BLI_utildefines prefix for header-only libsCampbell Barton
This allows to have different macro headers without them sharing similar names to regular C modules.