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-11-13Py API Docs: CleanupJacques Lucke
2018-11-13Py API Docs: GPUIndexBuf documentationJacques Lucke
2018-11-13Py API Docs: GPUBatch documentationJacques Lucke
2018-11-11Merge branch 'master' into blender2.8Campbell Barton
2018-11-11PyAPI: update keyword listCampbell Barton
2018-11-10Merge branch 'master' into blender2.8Campbell Barton
2018-11-10PyAPI: add imports arg to BPY_execute_stringCampbell Barton
Allows for avoiding `__import__` in expressions, was already supported for BPY_execute_string_as_* API calls.
2018-11-09gpu.offscreen, fix pydoc, example and rename modelviewmatrix > viewmatrixDalai Felinto
Technically this is only the view matrix, not model view matrix. And view layer was missing from the pydoc.
2018-11-09BKE_id_is_in_gobal_main > BKE_id_is_in_global_mainDalai Felinto
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'Bastien Montagne
That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways...
2018-11-07Merge branch 'master' into blender2.8Stefan Werner
2018-11-07Cycles: Added Embree as BVH option for CPU renders.Stefan Werner
Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag. Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly. There, Embree is off by default too and must be enabled with the WITH_EMBREE flag. Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint. TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache). Differential Revision: https://developer.blender.org/D3682
2018-11-06Cleanup: No need to save/restor frame buffer twiceJacques Lucke
2018-11-05API Docs: gpu api introduction + examplesJacques Lucke
2018-11-01Fix bpy.app, sentinel was removed by accidentCampbell Barton
2018-11-01UI: show blocking popup when auto execution of scripts is disabled.Brecht Van Lommel
This is important information, and it was easily missed at the top/bottom of the screen. Ref T57197.
2018-10-31Cleanup: rename PyAPI VertBatch to BatchCampbell Barton
Only used for internal functions, follow 'GPU_batch.h' naming.
2018-10-31Fix leak in successive calls to Batch.program_setCampbell Barton
2018-10-31PyAPI: add check for exceeding batch VBO limitCampbell Barton
2018-10-31Cleanup: batch Python APICampbell Barton
Add utility function to raise an error.
2018-10-31Fix missing error returns in batch APICampbell Barton
2018-10-30PyAPI: GPU: improve GPUShader.from_builtin and GPUShader.code_from_builtin ↵mano-wii
description.
2018-10-30PyAPI: Support for 'None' string args from PythonCampbell Barton
This is needed because some RNA functions differentiate a NULL 'char *' argument from an empty string. Previously a NULL argument could be passed when the C definition defined the default as NULL and the argument wasn't passed which is a fairly hidden way of handling things. Now strings use `PROP_NEVER_NULL` by default which can be cleared for function arguments that allow None -> NULL.
2018-10-29PyAPI: remove GPUVertFormat() creation from a listCampbell Barton
We already have `attr_add` method, best not have two ways to do the same thing. See: D3830
2018-10-28Cleanup: fix compiler warnings.Brecht Van Lommel
2018-10-26Fix parsing single int for uniform_intCampbell Barton
This worked for float but not int.
2018-10-26PyAPI: draw handlers now store args in the capsule contextCampbell Barton
Was using the handlers custom-data which crashes when Blender frees the screen data before Python removes the handler.
2018-10-26PyAPI: Temp workaround for crash removing cursorCampbell Barton
Opening a new file frees the cursors, add check if the cursor is still valid. This leaks a Python reference, so a better solution is needed.
2018-10-26PyAPI: Make GPUVertFormat() argument optionalCampbell Barton
2018-10-25PyAPI: rename GPL VertBuf.attr_fill identifier to idCampbell Barton
This is used elsewhere in the API and its a common abbreviation.
2018-10-25Cleanup: move params into their own structCampbell Barton
2018-10-25PyAPI: take paint-cursor space/region type argsCampbell Barton
2018-10-25WM: space, region type filtering for paint cursorCampbell Barton
Avoids calling poll on mouse-move for unrelated space/region types.
2018-10-25PyAPI: support for Python paint cursorsCampbell Barton
2018-10-24Fix: buffer overflow when creating gpu.types.GPUIndexBufJacques Lucke
2018-10-24GPUShader: shader.uniform_float, matrix parsingCampbell Barton
Add checks to parse 3x3 or 4x4 matrices, also use error from `mathutils_array_parse` instead of overwriting.
2018-10-24Partially revert "GPUShader: shader.uniform_float parameters"Campbell Barton
`mathutils_array_parse` is meant to parse 1d arrays of numbers. Using matrices internal memory layout is confusing since mathutils matrices are exposed as row major. Also, the matrix shape wasn't checked for. Callers that want to handle matrices should check for them explicitly.
2018-10-23GPUShader: shader.uniform_float parametersJacques Lucke
Allow to pass in single numbers, sequences and mathutils.* types into `shader.uniform_float`. Reviewers: mano-wii Differential Revision: https://developer.blender.org/D3820
2018-10-23Cleanup: rename VertBuf.fill_attribute > attr_fillCampbell Barton
2018-10-22Followup to previous change, reduce number of relations updatesSergey Sharybin
Only tag relations update when new f-curve was allocated. This solves possible too slow keyframe insertion when doing character animation, but still does proper relation update when new ID component became animated.
2018-10-22Python API: fix docstringsJacques Lucke
2018-10-22API Docs: remove 'level' from blf.color argumentsJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D3819
2018-10-19Make Static Override optional/hidden by default.Bastien Montagne
That feature will not be ready (or at least, not tested enough) to be officially part of 2.80 beta. So we disable it by default, hidding it behind a startup option (`--enable-static-override`), and a python app var (`bpy.app.use_static_override`). That way, people who really want to play with it can do it easily, while not exposing/enabling non-production-ready feature by default. Note that underlying override code remains active, i.e. files we do have overridden data-blocks will be loaded correctly according to static override.
2018-10-17Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_global.h source/blender/editors/undo/ed_undo.c
2018-10-17Expose 'debug_io' flag in bpy.appBastien Montagne
2018-10-12Python GPU: Best description for exceptionsmano-wii
2018-10-11Merge branch 'master' into blender2.8Campbell Barton
2018-10-11Cleanup: style (pointers)Campbell Barton
2018-10-10Python GPU: Use PyC_AsArray_FAST in GPUVertBuf.fill_attribute.mano-wii
This allows you to use other types of sequences besides tuples.