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
path: root/doc
AgeCommit message (Collapse)Author
2022-05-18PyDoc: support building full API docs on macOS & WIN32Campbell Barton
Accessing context members depended on `ctypes` to access symbols which were hidden for macOS & WIN32. Add an API call that doesn't require the symbols to be exported. This allows most symbols to be hidden on Linux, see D14971.
2022-05-18Cleanup: formatCampbell Barton
2022-05-11Cleanup: formatCampbell Barton
2022-05-09EEVEE & Viewport: Add a built-in shader called 3D_IMAGE, and expose to the ↵Shashank Shekhar
python API Adds an example python script to the documentation for the 3D_IMAGE shader. The **use-case** is to draw textures with 3D vertex positions, in XR views as well as non-XR views (in a simpler manner). **Testing**: I've tested that this compiles and works on my Macbook (with the example python script included in this change). I don't have access to a Windows or Linux machine right now, but this change doesn't look platform-specific and no new glsl shaders have been added or edited by this change. I'll try to get access to a Windows machine, but if someone does have one, I'd be really grateful if they could try this change. Thanks! **Problem addressed**: The existing 2D_IMAGE shader (exposed in the python API) gets near-clipped when drawn in the XR view, regardless of the near-clip settings. Additionally, the 2D_IMAGE shader only accepts 2D positions for the image vertices, which means drawing textures in 3D requires providing 2D coordinates and then pushing a transform-rotate-scale matrix to the GPU, even for non-XR (i.e. WINDOW) views. The 3D_IMAGE shader is simpler: it accepts 3D vertex positions, and doesn't require any additional work by the scripter. **Workaround**: The current workaround is to use custom shaders in the python script. **Non-intrusive change**: No new glsl shaders were added. This change just bundles two existing shaders: the vertex shader used by the 3D_IMAGE_MODULATE_ALPHA shader, and the fragment shader used by the 2D_IMAGE shader. Reviewed By: #eevee_viewport, jbakker Differential Revision: https://developer.blender.org/D14832
2022-05-06Merge branch 'blender-v3.2-release'Bastien Montagne
2022-05-06Add documentation about Image/ImBuf to python/RNA API.Bastien Montagne
Related to T95616, the relationship between Image ID and ImBuf 'cached' buffers can be fairly confusing when using the RNA API. Reviewed By: campbellbarton, jbakker Differential Revision: https://developer.blender.org/D14833
2022-05-03Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-03Cleanup: use context.temp_overrideCampbell Barton
Remove use of deprecated operator context passing. Also minor clarification in the context.temp_override docs.
2022-05-02Blender 3.3 bcon1 - alphaThomas Dinges
Bump the version number for the new release cycle.
2022-04-26Cleanup: autopep8Campbell Barton
2022-04-20Cleanup: re-run autopep8 with E401 enabledCampbell Barton
Put imports on their own line which was almost always the case already.
2022-04-20Cleanup: run autopep8 with max-line-length=120Campbell Barton
2022-04-20Cleanup: run autopep8 on doc/Campbell Barton
2022-04-20Docs: update examples to use Context.temp_overrideCampbell Barton
2022-04-20PyAPI: temporary context override supportCampbell Barton
Support a way to temporarily override the context from Python. - Added method `Context.temp_override` context manager. - Special support for windowing variables "window", "area" and "region", other context members such as "active_object". - Nesting context overrides is supported. - Previous windowing members are restored when the context exists unless they have been removed. - Overriding context members by passing a dictionary into operators in `bpy.ops` has been deprecated and warns when used. This allows the window in a newly loaded file to be used, see: T92464 Reviewed by: mont29 Ref D13126
2022-04-19PyDoc: quiet warnings for duplicate members bpy.contextCampbell Barton
2022-04-19PyDoc: fix including literal text immediately after function argsCampbell Barton
Literal text from examples could be included directly after function arguments, this caused a warning with mis-matching indentation.
2022-04-19Cleanup: Use correct capitalization of "F-Curve"Aaron Carlisle
2022-04-06API doc: Tweak sphinx to get date of source commit instead of build date.Bastien Montagne
This commit disables the 'last updated' value (which is the date the sphinx doc is generated), and instead modifies the 'commit' field from the 'html_context' data to get: - a link to the commit itself. - the date of that commit. This avoids having the whole documentation detected as changed every time it is re-generated by the buildbot. Reviewed By: dfelinto, campbellbarton Differential Revision: https://developer.blender.org/D14429
2022-04-06Doxygen: update doxyfile to 1.9.3Campbell Barton
Resolves deprecation warnings.
2022-03-30Cleanup: use equality instead of contains for single-item setsCampbell Barton
2022-03-18Docs: add license text file for LGPL2.1Campbell Barton
2022-03-04Cleanup: unused Python variables & importsCampbell Barton
2022-02-22Merge branch 'blender-v3.1-release'Aaron Carlisle
2022-02-22Python API Docs: Hide version swtichAaron Carlisle
This still needs some fixes to be ready for release.
2022-02-14GNUmakefile: update arguments for 'doc_man' targetCampbell Barton
Add '--verbose' argument to the script so the destination is printed. Otherwise there is no hint to where the man page was written.
2022-02-11Docs: add license text files for all SPDX identifiersBrecht Van Lommel
2022-02-11License: add GPL-3.0-or-later identifierCampbell Barton
Some add-ons use this.
2022-02-11File headers: manually convert files to use SPDX headersCampbell Barton
Also add BSD-2-Clause to SPDX license list.
2022-02-11File headers: add missing copyright, add MIT to SPDX licensesCampbell Barton
2022-02-11File headers: use SPDX for Zlib licenseCampbell Barton
2022-02-11Cleanup: remove white-space before headersCampbell Barton
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2022-02-11Fix: Missing changes in recent "Curves" renameHans Goudey
More missing changes in fe1816f67fbc6aaf3. This will hopefully fix a Python API docs build error, and fixes the "Object Types Visibility" popover.
2022-02-11License: add Apache-2.0 to doc/licenseCampbell Barton
Include this as it's used the source/ directory.
2022-02-07Merge branch 'blender-v3.1-release'Aaron Carlisle
2022-02-07Cleanup: Grammar in doc/python_apiMyles Walcott
* Its -> It's * Scripts -> Script's * then -> than Several phrasing grammar fixes. Reviewed By: Blendify Differential Revision: https://developer.blender.org/D14021
2022-02-03Merge branch 'blender-v3.1-release'Aaron Carlisle
2022-02-03Py Docs: Fix error is version switchAaron Carlisle
Slile parameter of 4 was looking for the language in the URL but the API docs do not have a language in the URL.
2022-02-03Merge branch 'blender-v3.1-release'Aaron Carlisle
2022-02-03Py Docs: Fix json URLAaron Carlisle
In the future when we have a docs staging area it will be important to change where this JSON is pulled from. For now, always pull from the "Production" versions
2022-02-03Merge branch 'blender-v3.1-release'Aaron Carlisle
2022-02-03Py Docs: Fix typo in previous commitAaron Carlisle
- Correct spacing - Add missing comma
2022-02-03Merge branch 'blender-v3.1-release'Aaron Carlisle
2022-02-03Py Docs: Implement version switch to switch between versions on the websiteAaron Carlisle
This commit adds a version switch similar to the one on the user manual, in the future it would be nice to refactor both of these into a more generic code that works for both. Maybe develop this into a sphinx extension. As part of this change I had to change how the blender hash is displayed. Instead of the version hash in the top left it has been moved to the page footer. This change will also be backported to 2.93 LTS, 2.93 LTS, and 3.0.
2022-01-28Blender 3.2 bcon1 - alphaThomas Dinges
Bump the version number for the new release cycle.
2022-01-24Cleanup: Grammar: its self vs. itselfHans Goudey
2022-01-19PyAPI Docs: Prepare for Sphinx 4.5Aaron Carlisle
2022-01-18Python API Docs: add non-invert `Bone.convert_local_to_pose` example.Alexander Gavrilov
This updates the example function to support assigning a subset of bone matrices. The code was tested to work in real use by @gaiaclary.
2022-01-10Cleanup: typos in comments, remove libnumaapi referenceCampbell Barton