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-07-16Fix T55944: fbx export error with smoothing facePhilipp Oeser
ddee0931b868 added PROP_RAW_BOOLEAN case for foreach_set, but missed foreach_get Reviewed By: brecht Differential Revision: https://developer.blender.org/D3534
2018-07-16Fix T55527: creating a Quaternion without args should result in identityPhilipp Oeser
quaternion Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3487
2018-07-12PyAPI: add undo redo handlersCampbell Barton
Useful so Python can clean up before/after undo steps.
2018-07-12Fix PyRNA class registration w/ Python 3.7Campbell Barton
In Python3.7 this now raises an error.
2018-07-07Cleanup: pep8Campbell Barton
2018-07-06PyDrivers: update bytecode check for Python3.6Campbell Barton
2018-07-03Cleanup: pep8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-26PyAPI: add ImBuf.copyCampbell Barton
DD348 by @kilon w/ edits.
2018-06-26PyAPI: move deep-copy args check to py_capi_utilsCampbell Barton
2018-06-22Cleanup: get rid of last G.main's in bpy area.Bastien Montagne
Essentially 'validating' them as G_MAIN, and adding some asserts in dubious places, that handled IDs are actually in G_MAIN.
2018-06-17Python: Allow untrusted py-drivers to run limited expressionsCampbell Barton
Limit to a restricted set of built-ins, as well as the math module. Also restrict of op-codes, disallowing imports and attribute access. This allows most math expressions to run without any performance cost once the initial check is done. See: D1862 for details.
2018-06-17Cleanup: BLI path extension APICampbell Barton
Use BLI_path_extension_* prefix.
2018-06-17Cleanup: use clamp_* from BLI_math (replace macro)Campbell Barton
2018-06-13Cleanup: get rid of last G.main in BMesh code.Bastien Montagne
2018-06-12WM: remove sloppy region type accessCampbell Barton
Avoid accidentally operating on the wrong region type.
2018-06-12WM: rename BKE_regiontype_from_idCampbell Barton
This returns the first as a fallback, causing confusing usage. Renamed and added a version of the function that doesn't.
2018-06-12Fix T55452: Crash on saving with visible particle system.Bastien Montagne
Missing Main pointer in recent refactor/cleanup of G.main usages...
2018-06-08Cleanup: getting rid of G.main.Bastien Montagne
Sometimes one needs a *lot* of changes for a single G.main... :/
2018-06-07Cleanup: remove moar G.main usages.Bastien Montagne
Notes: * Really need to address RNA setters case, end up adding way too much G.main here these days... :/ * Added Main pointer into bAnimContext, helps a lot in anim code ;)
2018-06-07Python API: Initial 'imbuf' APICampbell Barton
Support only basic operations new/load/write & resize. Add now so we can extend as needed & more easily accept patches.
2018-06-05Cleanup: use new accessors to blendfile path (Main.name).Bastien Montagne
2018-06-04Cleanup: strip trailing space in Python moduleCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-05-28Windows: Add support for building with clang.Ray Molenkamp
This commit contains the minimum to make clang build/work with blender, asan and ninja build support is forthcoming Things to note: 1) Builds and runs, and is able to pass all tests (except for the freestyle_stroke_material.blend test which was broken at that time for all platforms by the looks of it) 2) It's slightly faster than msvc when using cycles. (time in seconds, on an i7-3370) victor_cpu msvc:3099.51 clang:2796.43 pavillon_barcelona_cpu msvc:1872.05 clang:1827.72 koro_cpu msvc:1097.58 clang:1006.51 fishy_cat_cpu msvc:815.37 clang:722.2 classroom_cpu msvc:1705.39 clang:1575.43 bmw27_cpu msvc:552.38 clang:561.53 barbershop_interior_cpu msvc:2134.93 clang:1922.33 3) clang on windows uses a drop in replacement for the Microsoft cl.exe (takes some of the Microsoft parameters, but not all, and takes some of the clang parameters but not all) and uses ms headers + libraries + linker, so you still need visual studio installed and will use our existing vc14 svn libs. 4) X64 only currently, X86 builds but crashes on startup. 5) Tested with llvm/clang 6.0.0 6) Requires visual studio integration, available at https://github.com/LazyDodo/llvm-vs2017-integration 7) The Microsoft compiler spawns a few copies of cl in parallel to get faster build times, clang doesn't, so the build time is 3-4x slower than with msvc. 8) No openmp support yet. Have not looked at this much, the binary distribution of clang doesn't seem to include it on windows. 9) No ASAN support yet, some of the sanitizers can be made to work, but it was decided to leave support out of this commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3304
2018-05-07Fix T54966: mathutils.noise.voronoi Memory leakBastien Montagne
C code was not correctly handling release of temp data, not technically a memory leak, but indeed rather annoying bug! ;)
2018-05-05IDProp API: add native C repr functionCampbell Barton
Was using Python which wasn't very efficient (even for logging).
2018-05-05PyAPI: add pop method to RNA struct typesCampbell Barton
This fits in with existing dict style access.
2018-05-05IDProp Py API: Add default argument to popCampbell Barton
Match dict.pop behavior.
2018-05-04IDProp API: expose repr utility functionCampbell Barton
Useful for logging properties passed to operators.
2018-05-03Fix T54927: BMesh Py error w/ select history sliceCampbell Barton
2018-04-17bpy consistency fix handler_add(handle)Dalai Felinto
This doesn't change the API, so it doesn't affect any script. However it give more consistent error messages.
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