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
2017-09-09Resolve T52687: Add node label shows as 'Unknown'Campbell Barton
Add type access method, need to extend to other types for now just get node UI working properly again.
2017-09-09PyAPI: Fix mathutils freeze allowing owned dataCampbell Barton
2017-09-09Docs: mathutils docstringsCampbell Barton
2017-09-09Cleanup: mathutils vector commentsCampbell Barton
Use doxy markup & correct outdated info.
2017-09-09Correct last commitCampbell Barton
2017-09-09Cleanup: Simplify SWIZZLE macroCampbell Barton
- Use indices instead of character args. - Use numbered macros instead of variadic args. Parsing using rtags used over 11gb of memory. While this should be resolved upstream (report as #1053), the extra complexity didn't give any real advantage.
2017-09-07Correct function name in argument parsingCampbell Barton
2017-09-07PyAPI: add function to get an RNA subclassCampbell Barton
This is inconvenient in regular Python, add a class-method to perform the operation, eg: bpy.types.Node.bl_rna_find_subclass("CustomNodeType")
2017-09-04RNA/PyAPI: Expose Py classes in bpy.typesCampbell Barton
Operators and their properties are two different types Previously both operators and their properties are added causing C operators to access the properties, Python the classes. Favor consistency in this case so only Python classes are added.
2017-09-04Cleanup: avoid confusing assignmentCampbell Barton
2017-09-02Correct own error simplifying matrix checksCampbell Barton
2017-08-31RNA: Limit which classes struct-map containsCampbell Barton
Only add subclasses of: Menu, Panel, Header, UIList, Operator This helps avoid unnecessary naming collisions, See T52599 for details
2017-08-28Docs: BMesh.from_mesh behavior w/ multiple callsCampbell Barton
2017-08-24Correct error in recent use of PyC_Long_*Campbell Barton
Regression in 46cf33bf0
2017-08-23Cleanup: mark VA_NARGS_COUNT as publicCampbell Barton
Was already used in two other headers, remove underscore prefix.
2017-08-23Cleanup: move variadic defines to their own headerCampbell Barton
So we can use in headers without pulling in many other defines.
2017-08-23PyAPI: avoid instantiating args twice in macroCampbell Barton
Would cause problems if args included function calls.
2017-08-22Fix error in PointerProperty argument listCampbell Barton
Regression in a7b3047
2017-08-22PyAPI: replace PyC_FromArray with typed functionsCampbell Barton
This was meant to be generic but introduced possible type errors and unnecessary complication. Replace with typed PyC_Tuple_PackArray_* functions. Also add PyC_Tuple_Pack_* macro which replaces some uses of Py_BuildValue, with the advantage of not having to parse a string.
2017-08-21Fix for recent fix in fc890cd, cstdint is c++11 only so don't use it yet.Brecht Van Lommel
2017-08-20Replace BLI_INLINE w/ Py_LOCAL_INLINE for PythonCampbell Barton
Recent inclusion caused build error with the BGE.
2017-08-20Fix bpy library load: invalid function signatureCampbell Barton
2017-08-20PyAPI: Make use of PyC_LongAs... APICampbell Barton
Avoids setting exceptions inline, also use Matrix_ParseAny for bmesh.ops. Some inline exceptions are kept because they show useful details.
2017-08-20PyAPI: Integer conversion functionsCampbell Barton
Python's C-API doesn't provide functions to get int's at specific integer sizes. Leaving the caller to check for overflow, which ended up being ignored in practice. Add API functions that convert int/uint 8/16/32/64, also bool. Raising overflow exception for unsupported ranges.
2017-08-20PyAPI: avoid redundant PyLong_AsLong callCampbell Barton
Assigning to an RNA array converted from Python to C twice.
2017-08-19PyAPI: expose matrix parsing functionCampbell Barton
2017-08-18PyAPI: Fix memory leak w/ empty, allocated enumsCampbell Barton
2017-08-11Cleanup: remove useless `DM_ensure_looptri()`.Bastien Montagne
That one was doing exactly same thing as `dm->getLoopTriArray()`, no point in having twice the same code here...
2017-08-11RNA: Operators were excluded from struct mapCampbell Barton
Recent changes meant structs that were registered without a name wouldn't get added to the map. Now assigning identifiers manages the struct-map.
2017-08-08Fix T46329: scene_update_{pre,post} doc needs clarificationSybren A. Stüvel
The documentation for the bpy.app.handlers.scene_update_{pre,post} handlers states that they're called "on updating the scenes data". However, they're called even when the data hasn't changed. Of course such handlers are useful, but the documentation should reflect the current behaviour. Reviewers: mont29, sergey Subscribers: Blendify Maniphest Tasks: T46329 Differential Revision: https://developer.blender.org/D1535
2017-07-28Fix T52213: Enum drivers no longer workCampbell Barton
Regression in D1812: PyDriver variables as Objects Taking the Python representation is nice in general but for enums it would convert them into strings, breaking some existing drivers.
2017-07-25PyAPI: Skip user scripts w/ factory-startupCampbell Barton
Adds bpy.app.factory_startup, used to check if user scripts should be loaded.
2017-07-17Fix T52090: clarify meaning of EnumProperty number when using ENUM_FLAG.Brecht Van Lommel
2017-07-17PyAPI: don't use deprecated PyModule_GetFilenameCampbell Barton
Allows compiling with newer Python versions. Also add missing decref when compiling as a py-module.
2017-06-26Docs: correct doc-stringsCampbell Barton
2017-06-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-06-16PyAPI: Fix warning about indentAaron Carlisle
2017-06-15PyAPI: Proper Solution to bpy.appAaron Carlisle
2017-06-14PYAPI: Fix mathutils doc structureAaron Carlisle
2017-06-12Cleanup: indentation, long linesCampbell Barton
2017-06-09RNA: remove static strings from registrationCampbell Barton
* Static strings aren't needed anymore, use stack memory. * Fix obscure leak on failed macro registration. * Use prefix for wrappers exported from bpy module.
2017-06-07Report OpenSubdiv version Blender is compiled againstSergey Sharybin
2017-06-05PyAPI: is_staticmethod used for classmethods's tooCampbell Barton
Add note to investigate this, don't change so close to release.
2017-06-05PyAPI: correct exception, expect 'staticmethod'Campbell Barton
2017-05-27Remove MinGW supportAaron Carlisle
The Issue ======= For a long time now MinGW has been unsupported and unmaintained and at this point, it looks like something that we should just leave behind and move on. Why Remove ========== One of the big motivations for MinGW back in the day is that it was free compared to MSVC which was licensed based. However, now that this is no longer true we have basically stopped updating the need CMake files. Along with the CMake files, there are several patches to the extern libs needed to make this work. For example, see: https://developer.blender.org/diffusion/B/browse/master/extern/carve/patches/mingw_w64.patch If we wanted to keep MinGW then we would need to make more custom patches to the external libs and this is not something our platform maintainers are willing to do. For example, here is the patches needed to build python: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 Fixes T51301 Differential Revision: https://developer.blender.org/D2648
2017-05-26Fix T51287: Matrix.lerp fails w/ shearBrecht Van Lommel
Use interp_m4_m4m4 (wraps Eigen), `MATH_STANDALONE` will need to be updated to support this.
2017-05-25Fix T51444: Unit tests don't run on WindowsCampbell Barton
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-06Fix PyAPI crash assigning/deleting id-propertiesCampbell Barton
Caused by D113.
2017-04-24Cleanup: styleCampbell Barton