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-27Docs: use float in bpy.app.timer examplesCampbell Barton
Makes it clear seconds are not integers, also avoids conversion to float.
2018-11-27Python API Docs: Examples for new timer apiJacques Lucke
2018-11-27Python API: Fix partial buildJacques Lucke
`gpu_extras` was always visible
2018-11-26Timer: Generic BLI_timer with Python wrapperJacques Lucke
There is a new `bpy.app.timers` api. For more details, look in the Python API documentation. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3994
2018-11-21Python API Docs: better titles.Brecht Van Lommel
The HTML title did not make it clear that these are docs for the API rather than a general Blender documentation. Some of the page titles were also too long and redundant.
2018-11-19Cleanup: gpu docsCampbell Barton
2018-11-19Py API Docs: use new bind context manager in gpu examplesJacques Lucke
2018-11-14Py API Docs: New custom shader exampleJacques Lucke
2018-11-13Py API Docs: Remove older GPUOffScreen exampleJacques Lucke
I think this example does not belong into the api docs and certainly not in the place where it was until now. Maybe this can become a template in Blender but personally I don't see much value in it as an "official example" because it is hard to see what is going on exactly. There are a few other examples that show how to use the GPUOffScreen object now.
2018-11-13Py API Docs: New Example for off screen renderingJacques Lucke
2018-11-12Py API Docs: another use case for offscreen renderingJacques Lucke
2018-11-12Py API Docs: Another example for offscreen renderingJacques Lucke
2018-11-12Py API Docs: fix typos/wordingJacques Lucke
found by Omar Ahmad
2018-11-12Py API Docs: Restructure gpu module introductionJacques Lucke
2018-11-09Py API Docs: More gpu module documentationJacques Lucke
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-08RNA: Object.select_set use boolean, only selectCampbell Barton
- Was setting active state, making it necessary to backup/restore active object in cases where this isn't needed. Existing scripts are explicitly setting the active object when needed. - Use a boolean select arg (toggle selection wasn't used anywhere). - Add an optional view layer argument since scripts should be able to operate outside the user context.
2018-11-07Py API Docs: improve 2D image exampleJacques Lucke
2018-11-07Py API Docs: show gpu_extras moduleJacques Lucke
2018-11-06Fix/cleanup RNA viewlayer API.Bastien Montagne
RNA's ViewLayer would present 'first level' of layer collection as a list (collection property), when it is actually now only a single item, same as the scene's master collection. Note: did not try to update view_layer python tests, those are already fully broken for quiet some time I guess (they still assume view_layer.collections to be mutable e.g.)...
2018-11-05Fix/Updated Object API example.Bastien Montagne
Was still 2.7x code... ;)
2018-11-05API Docs: gpu api introduction + examplesJacques Lucke
2018-10-26Update gpu offscreen PyAPI exampleCampbell Barton
2018-10-19Fix py API docgen script for new context members.Bastien Montagne
2018-10-10Python API: add loop triangles access, remove tessfaces.Brecht Van Lommel
Loop triangles are tessellated triangles create from polygons, for renderers or exporters that need to match Blender's polygon tesselation exactly. These are a read-only runtime cache. Tessfaces are a legacy data structure from before Blender supported n-gons, and were already mostly removed from the C code. Details on porting code to loop triangles is in the release notes. Differential Revision: https://developer.blender.org/D3539
2018-09-27Cleanup: pep8Campbell Barton
2018-09-21Fixup for gpu.types.GPUOffscreen.py exampleDalai Felinto
Addressing the changes introduced on: 43fa51835adee390aa4bcb9fe3bda1034480b7cf
2018-09-21gpu.types.GPUOffscreen.py example file: Move the shader reference removal ↵mano-wii
code to execute on __main__
2018-09-21gpu.types.GPUOffscreen.py example file: Delete the reference of the previous ↵mano-wii
shader. Strange that the `bpy.utils.register_class` utility does not remove the reference of the class with same name.
2018-09-21Updated gpu.types.GPUOffscreen.py example fileDalai Felinto
The image I get is a bit too dark, which is the same I get in the viewport itself when there is no Display Device. So I believe for cases like this we need to have color management on top of the buffer. Also, on EEVEE it looks like it needs to clear some extra buffers. You can see that, by rotating the camera view around. That said, this is the first step to bring back fun addons that use external offscreen buffers. Note: When using gpu offscreen with POST_VIEW (as oppose to POST_PIXEL) I get a crash with DST having 0xFF..
2018-09-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-19Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3700
2018-09-15PyDoc: add gpu.shaderCampbell Barton
Also some syntax corrections.
2018-09-13PyDoc: add bpy.app.icons to docsCampbell Barton
2018-09-13Merge branch 'master' into blender2.8Campbell Barton
2018-09-13PyDoc: replace use of deprecated API callCampbell Barton
2018-09-13Merge branch 'master' into blender2.8Campbell Barton
2018-09-13PyDoc: disable ASAN exit code for doc buildingCampbell Barton
Prevented docs from building on any minor issue when ASAN was enabled.
2018-09-06UI / Python: rename X-Ray to In Front, Draw to Display.Brecht Van Lommel
See T56648.
2018-09-06Join the python modules `gpu` and `_gpu` into one.mano-wii
Maybe it's still early to set the new drawing api for python. But joining these two modules is an initial step. ``` >>> gpu. matrix select types ``` ``` >>> gpu.types.GPU Batch( OffScreen( VertBuf( VertFormat( ``` The creation of a new offscreen object is now done by the `GPUOffscreen.__new__` method. Reviewers: campbellbarton, dfelinto Reviewed By: campbellbarton, dfelinto Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D3667
2018-09-03Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/collision.c
2018-09-03Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3668
2018-08-29Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual ↵Brecht Van Lommel
location.
2018-08-28Cleanup: pep8Campbell Barton
2018-08-28UI: text keyword argument to labelCampbell Barton
Prepare for keyword only args
2018-08-27Implement BMesh Operator string enumerators and docs generation.Andrew Hale
Partial implementation of T56496 for review. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3635
2018-08-16Documentation: fixes for building w/ 2.8Campbell Barton
Note, bpy.app.icons needs to be supported eventually.
2018-08-14Correct error in py doc generationCampbell Barton
2018-08-14Cleanup: Update some links to new wikiAaron Carlisle
2018-08-14PyDoc: remove old undocumented messageAaron Carlisle