forked from bartvdbraak/blender
Docs: Replace most wiki links with links to new developer docs
Exceptions: * Links to personal wiki pages * Pages that are not in the new developer docs yet (like Human Interface Guidelines) * tools\check_wiki\check_wiki_file_structure.py needs a refactor
This commit is contained in:
parent
290b417998
commit
64fc6d7890
@ -9,13 +9,13 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
### Instructions
|
### Instructions
|
||||||
First time reporting? See [tips](https://wiki.blender.org/wiki/Process/Bug_Reports).
|
First time reporting? See [tips](https://developer.blender.org/docs/handbook/bug_reports/making_good_bug_reports/).
|
||||||
|
|
||||||
* Use **Help > Report a Bug** in Blender to fill system information and exact Blender version.
|
* Use **Help > Report a Bug** in Blender to fill system information and exact Blender version.
|
||||||
* Test [daily builds](https://builder.blender.org/) to verify if the issue is already fixed.
|
* Test [daily builds](https://builder.blender.org/) to verify if the issue is already fixed.
|
||||||
* Test [previous versions](https://download.blender.org/release/) to find an older working version.
|
* Test [previous versions](https://download.blender.org/release/) to find an older working version.
|
||||||
* For feature requests, feedback, questions or build issues, see [communication channels](https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests).
|
* For feature requests, feedback, questions or build issues, see [communication channels](https://developer.blender.org/docs/handbook/communication/user_feedback/).
|
||||||
* Security vulnerabilities should be [reported privately](https://wiki.blender.org/wiki/Process/Vulnerability_Reports).
|
* Security vulnerabilities should be [reported privately](https://developer.blender.org/docs/handbook/bug_reports/vulnerability_reports/).
|
||||||
* If there are multiple bugs, make multiple bug reports.
|
* If there are multiple bugs, make multiple bug reports.
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
@ -6,7 +6,7 @@ body:
|
|||||||
value: |
|
value: |
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
Guides to [contributing code](https://wiki.blender.org/index.php/Dev:Doc/Process/Contributing_Code) and effective [code review](https://wiki.blender.org/index.php/Dev:Doc/Tools/Code_Review).
|
Guides to [contributing code](https://developer.blender.org/docs/handbook/contributing/) and effective [code review](https://developer.blender.org/docs/handbook/contributing/pull_requests/).
|
||||||
|
|
||||||
By submitting code here, you agree that the code is (compatible with) GNU GPL v2 or later.
|
By submitting code here, you agree that the code is (compatible with) GNU GPL v2 or later.
|
||||||
|
|
||||||
|
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@ -1,4 +1,4 @@
|
|||||||
This repository is only used as a mirror. Blender development happens on projects.blender.org.
|
This repository is only used as a mirror. Blender development happens on projects.blender.org.
|
||||||
|
|
||||||
To get started with contributing code, please see:
|
To get started with contributing code, please see:
|
||||||
https://wiki.blender.org/wiki/Process/Contributing_Code
|
https://developer.blender.org/docs/handbook/contributing/
|
||||||
|
2
.github/stale.yml
vendored
2
.github/stale.yml
vendored
@ -18,4 +18,4 @@ closeComment: >
|
|||||||
used as a mirror. Blender development happens on projects.blender.org.
|
used as a mirror. Blender development happens on projects.blender.org.
|
||||||
|
|
||||||
To get started contributing code, please read:
|
To get started contributing code, please read:
|
||||||
https://wiki.blender.org/wiki/Process/Contributing_Code
|
https://developer.blender.org/docs/handbook/contributing/
|
||||||
|
@ -110,7 +110,7 @@ enable_testing()
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Test Compiler Support
|
# Test Compiler Support
|
||||||
#
|
#
|
||||||
# Keep in sync with: https://wiki.blender.org/wiki/Building_Blender
|
# Keep in sync with: https://developer.blender.org/docs/handbook/building_blender/
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCC)
|
if(CMAKE_COMPILER_IS_GNUCC)
|
||||||
if("${CMAKE_C_COMPILER_VERSION}" VERSION_LESS "11.0.0")
|
if("${CMAKE_C_COMPILER_VERSION}" VERSION_LESS "11.0.0")
|
||||||
|
@ -76,7 +76,7 @@ Documentation Checking
|
|||||||
* check_wiki_file_structure:
|
* check_wiki_file_structure:
|
||||||
Check the WIKI documentation for the source-tree's file structure
|
Check the WIKI documentation for the source-tree's file structure
|
||||||
matches Blender's source-code.
|
matches Blender's source-code.
|
||||||
See: https://wiki.blender.org/wiki/Source/File_Structure
|
See: https://developer.blender.org/docs/features/code_layout/
|
||||||
|
|
||||||
Spell Checkers
|
Spell Checkers
|
||||||
This runs the spell checker from the developer tools repositor.
|
This runs the spell checker from the developer tools repositor.
|
||||||
|
@ -23,10 +23,10 @@ Project Pages
|
|||||||
Development
|
Development
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
- [Build Instructions](https://wiki.blender.org/wiki/Building_Blender)
|
- [Build Instructions](https://developer.blender.org/docs/handbook/building_blender/)
|
||||||
- [Code Review & Bug Tracker](https://projects.blender.org)
|
- [Code Review & Bug Tracker](https://projects.blender.org)
|
||||||
- [Developer Forum](https://devtalk.blender.org)
|
- [Developer Forum](https://devtalk.blender.org)
|
||||||
- [Developer Documentation](https://wiki.blender.org)
|
- [Developer Documentation](https://developer.blender.org/docs/)
|
||||||
|
|
||||||
|
|
||||||
License
|
License
|
||||||
|
@ -1714,7 +1714,7 @@ def argparse_create():
|
|||||||
"NOTE: To build with system package libraries instead of the precompiled ones when both are available,\n"
|
"NOTE: To build with system package libraries instead of the precompiled ones when both are available,\n"
|
||||||
"the `WITH_LIBS_PRECOMPILED` option must be disabled in CMake.\n"
|
"the `WITH_LIBS_PRECOMPILED` option must be disabled in CMake.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"See https://wiki.blender.org/wiki/Building_Blender for more details.\n"
|
"See https://developer.blender.org/docs/handbook/building_blender/ for more details.\n"
|
||||||
"\n"
|
"\n"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
# This script is part of the official build environment, see wiki page for details.
|
# This script is part of the official build environment, see wiki page for details.
|
||||||
# https://wiki.blender.org/wiki/Building_Blender/Other/Rocky8ReleaseEnvironment
|
# https://developer.blender.org/docs/handbook/release_process/build/rocky_8/
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# assumes you have dependencies installed already
|
# assumes you have dependencies installed already
|
||||||
|
|
||||||
# See this page for more info:
|
# See this page for more info:
|
||||||
# https://wiki.blender.org/wiki/Building_Blender/Linux/Generic_Distro/CMake
|
# https://developer.blender.org/docs/handbook/building_blender/linux/
|
||||||
|
|
||||||
# grab blender
|
# grab blender
|
||||||
mkdir ~/blender-git
|
mkdir ~/blender-git
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
* \subsection implinks Important Links
|
* \subsection implinks Important Links
|
||||||
* - <a href="https://developer.blender.org">developer.blender.org</a> with bug tracker.
|
* - <a href="https://developer.blender.org">developer.blender.org</a> with bug tracker.
|
||||||
* - <a href="https://wiki.blender.org">Development documents</a> on our wiki.
|
* - <a href="https://developer.blender.org/docs/">Development documentation</a>.
|
||||||
*
|
*
|
||||||
* \subsection blother Other
|
* \subsection blother Other
|
||||||
* For more information on using Blender browse to https://www.blender.org
|
* For more information on using Blender browse to https://www.blender.org
|
||||||
|
@ -23,8 +23,8 @@ Then, call ``bpy.app.translations.register(__name__, your_dict)`` in your ``regi
|
|||||||
The ``Manage UI translations`` add-on has several functions to help you collect strings to translate, and
|
The ``Manage UI translations`` add-on has several functions to help you collect strings to translate, and
|
||||||
generate the needed python code (the translation dictionary), as well as optional intermediary po files
|
generate the needed python code (the translation dictionary), as well as optional intermediary po files
|
||||||
if you want some... See
|
if you want some... See
|
||||||
`How to Translate Blender <https://wiki.blender.org/wiki/Process/Translate_Blender>`_ and
|
`How to Translate Blender <https://developer.blender.org/docs/handbook/translating/translator_guide/>`_ and
|
||||||
`Using i18n in Blender Code <https://wiki.blender.org/wiki/Source/Interface/Internationalization>`_
|
`Using i18n in Blender Code <https://developer.blender.org/docs/handbook/translating/developer_guide/>`_
|
||||||
for more info.
|
for more info.
|
||||||
|
|
||||||
Module References
|
Module References
|
||||||
@ -35,7 +35,7 @@ Module References
|
|||||||
import bpy
|
import bpy
|
||||||
|
|
||||||
# This block can be automatically generated by UI translations addon, which also handles conversion with PO format.
|
# This block can be automatically generated by UI translations addon, which also handles conversion with PO format.
|
||||||
# See also https://wiki.blender.org/wiki/Process/Translate_Blender#Translating_non-official_addons
|
# See also https://developer.blender.org/docs/handbook/translating/translator_guide/#translating-non-official-add-ons
|
||||||
# It can (should) also be put in a different, specific py file.
|
# It can (should) also be put in a different, specific py file.
|
||||||
|
|
||||||
# ##### BEGIN AUTOGENERATED I18N SECTION #####
|
# ##### BEGIN AUTOGENERATED I18N SECTION #####
|
||||||
|
@ -14,7 +14,7 @@ The features exposed closely follow the C API,
|
|||||||
giving Python access to the functions used by Blender's own mesh editing tools.
|
giving Python access to the functions used by Blender's own mesh editing tools.
|
||||||
|
|
||||||
For an overview of BMesh data types and how they reference each other see:
|
For an overview of BMesh data types and how they reference each other see:
|
||||||
`BMesh Design Document <https://wiki.blender.org/index.php/Dev:Source/Modeling/BMesh/Design>`__.
|
`BMesh Design Document <https://developer.blender.org/docs/features/objects/mesh/bmesh/>`__.
|
||||||
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
@ -13,7 +13,7 @@ allowing ``import bpy`` to be added to any Python script, providing access to Bl
|
|||||||
- A pre-compiled ``bpy`` module is
|
- A pre-compiled ``bpy`` module is
|
||||||
`available via PIP <https://pypi.org/project/bpy/>`__.
|
`available via PIP <https://pypi.org/project/bpy/>`__.
|
||||||
- Or you may compile this yourself using the
|
- Or you may compile this yourself using the
|
||||||
`build instructions <https://wiki.blender.org/w/index.php?title=Building_Blender/Other/BlenderAsPyModule>`__.
|
`build instructions <https://developer.blender.org/docs/handbook/building_blender/python_module/>`__.
|
||||||
|
|
||||||
|
|
||||||
Use Cases
|
Use Cases
|
||||||
|
@ -91,7 +91,7 @@ They are only loaded on startup if selected from the user preferences.
|
|||||||
The only difference between add-ons and built-in Python modules is that add-ons must contain a ``bl_info`` variable
|
The only difference between add-ons and built-in Python modules is that add-ons must contain a ``bl_info`` variable
|
||||||
which Blender uses to read metadata such as name, author, category and project link.
|
which Blender uses to read metadata such as name, author, category and project link.
|
||||||
The User Preferences add-on listing uses ``bl_info`` to display information about each add-on.
|
The User Preferences add-on listing uses ``bl_info`` to display information about each add-on.
|
||||||
`See Add-ons <https://wiki.blender.org/index.php/Dev:Py/Scripts/Guidelines/Addons>`__
|
`See Add-ons <https://developer.blender.org/docs/handbook/addons/guidelines/>`__
|
||||||
for details on the ``bl_info`` dictionary.
|
for details on the ``bl_info`` dictionary.
|
||||||
|
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ Advantages include:
|
|||||||
|
|
||||||
This is marked advanced because to run Blender as a Python module requires a special build option.
|
This is marked advanced because to run Blender as a Python module requires a special build option.
|
||||||
For instructions on building see
|
For instructions on building see
|
||||||
`Building Blender as a Python module <https://wiki.blender.org/wiki/Building_Blender/Other/BlenderAsPyModule>`__.
|
`Building Blender as a Python module <https://developer.blender.org/docs/handbook/building_blender/python_module/>`__.
|
||||||
|
|
||||||
|
|
||||||
Python Safety (Build Option)
|
Python Safety (Build Option)
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<url type="faq">https://www.blender.org/support/faq/</url>
|
<url type="faq">https://www.blender.org/support/faq/</url>
|
||||||
<url type="help">https://www.blender.org/support/</url>
|
<url type="help">https://www.blender.org/support/</url>
|
||||||
<url type="donation">https://fund.blender.org/</url>
|
<url type="donation">https://fund.blender.org/</url>
|
||||||
<url type="translate">https://wiki.blender.org/wiki/Process/Translate_Blender</url>
|
<url type="translate">https://developer.blender.org/docs/handbook/translating/translator_guide/</url>
|
||||||
<url type="vcs-browser">https://projects.blender.org/blender/blender</url>
|
<url type="vcs-browser">https://projects.blender.org/blender/blender</url>
|
||||||
<url type="contribute">https://www.blender.org/get-involved/</url>
|
<url type="contribute">https://www.blender.org/get-involved/</url>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
<p class="p4">
|
<p class="p4">
|
||||||
The Blender Foundation and online developer community is proud to present Blender
|
The Blender Foundation and online developer community is proud to present Blender
|
||||||
@BLENDER_VERSION@.
|
@BLENDER_VERSION@.
|
||||||
<a href="https://wiki.blender.org/wiki/Reference/Release_Notes/@BLENDER_VERSION@">
|
<a href="https://developer.blender.org/docs/release_notes/@BLENDER_VERSION@">
|
||||||
<span class="s1">More information about this release</span>
|
<span class="s1">More information about this release</span>
|
||||||
</a>.
|
</a>.
|
||||||
</p>
|
</p>
|
||||||
@ -95,8 +95,8 @@
|
|||||||
<span class="s4">www.blender.org</span>
|
<span class="s4">www.blender.org</span>
|
||||||
</a><br>
|
</a><br>
|
||||||
Release Notes
|
Release Notes
|
||||||
<a href="https://wiki.blender.org/wiki/Reference/Release_Notes/@BLENDER_VERSION@">
|
<a href="https://developer.blender.org/docs/release_notes/@BLENDER_VERSION@">
|
||||||
<span class="s4">wiki.blender.org/wiki/Reference/Release_Notes/@BLENDER_VERSION@</span>
|
<span class="s4">https://developer.blender.org/docs/release_notes/@BLENDER_VERSION@</span>
|
||||||
</a><br>
|
</a><br>
|
||||||
Tutorials
|
Tutorials
|
||||||
<a href="https://www.blender.org/support/tutorials/">
|
<a href="https://www.blender.org/support/tutorials/">
|
||||||
|
@ -708,7 +708,7 @@ class TOPBAR_MT_help(Menu):
|
|||||||
"wm.url_open",
|
"wm.url_open",
|
||||||
text="Developer Documentation",
|
text="Developer Documentation",
|
||||||
icon='URL',
|
icon='URL',
|
||||||
).url = "https://wiki.blender.org/wiki/Main_Page"
|
).url = "https://developer.blender.org/docs/"
|
||||||
layout.operator("wm.url_open", text="Developer Community").url = "https://devtalk.blender.org"
|
layout.operator("wm.url_open", text="Developer Community").url = "https://devtalk.blender.org"
|
||||||
layout.operator("wm.url_open_preset", text="Python API Reference").type = 'API'
|
layout.operator("wm.url_open_preset", text="Python API Reference").type = 'API'
|
||||||
layout.operator("wm.operator_cheat_sheet", icon='TEXT')
|
layout.operator("wm.operator_cheat_sheet", icon='TEXT')
|
||||||
|
@ -29,7 +29,7 @@ namespace blender::asset_system {
|
|||||||
* - Only slashes are used as path component separators.
|
* - Only slashes are used as path component separators.
|
||||||
* - All paths are absolute, so there is no need for a leading slash.
|
* - All paths are absolute, so there is no need for a leading slash.
|
||||||
*
|
*
|
||||||
* See https://wiki.blender.org/wiki/Source/Architecture/Asset_System/Catalogs
|
* See https://developer.blender.org/docs/features/asset_system/backend/asset_catalogs/
|
||||||
*
|
*
|
||||||
* Paths are stored as byte sequences, and assumed to be UTF-8.
|
* Paths are stored as byte sequences, and assumed to be UTF-8.
|
||||||
*/
|
*/
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
* \brief Information to uniquely identify and locate an asset.
|
* \brief Information to uniquely identify and locate an asset.
|
||||||
*
|
*
|
||||||
* https://wiki.blender.org/wiki/Source/Architecture/Asset_System/Back_End#Asset_Identifier
|
* https://developer.blender.org/docs/features/asset_system/backend/#asset-identifier
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* \brief Main runtime representation of an asset.
|
* \brief Main runtime representation of an asset.
|
||||||
*
|
*
|
||||||
* Abstraction to reference an asset, with necessary data for display & interaction.
|
* Abstraction to reference an asset, with necessary data for display & interaction.
|
||||||
* https://wiki.blender.org/wiki/Source/Architecture/Asset_System/Back_End#Asset_Representation
|
* https://developer.blender.org/docs/features/asset_system/backend/#asset-representation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
* TODO Currently disabled because UI data depends on asset library data, so we have to make sure
|
* TODO Currently disabled because UI data depends on asset library data, so we have to make sure
|
||||||
* it's freed in the right order (UI first). Pre-load handlers don't give us this order.
|
* it's freed in the right order (UI first). Pre-load handlers don't give us this order.
|
||||||
* Should be addressed with a proper ownership model for the asset system:
|
* Should be addressed with a proper ownership model for the asset system:
|
||||||
* https://wiki.blender.org/wiki/Source/Architecture/Asset_System/Back_End#Ownership_Model
|
* https://developer.blender.org/docs/features/asset_system/backend/#ownership-model
|
||||||
*/
|
*/
|
||||||
// #define WITH_DESTROY_VIA_LOAD_HANDLER
|
// #define WITH_DESTROY_VIA_LOAD_HANDLER
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ extern "C" {
|
|||||||
* version. Older Blender versions will test this and cancel loading the file, showing a warning to
|
* version. Older Blender versions will test this and cancel loading the file, showing a warning to
|
||||||
* the user.
|
* the user.
|
||||||
*
|
*
|
||||||
* See https://wiki.blender.org/wiki/Process/Compatibility_Handling for details. */
|
* See https://developer.blender.org/docs/handbook/guidelines/compatibility_handling_for_blend_files/ for details. */
|
||||||
#define BLENDER_FILE_MIN_VERSION 306
|
#define BLENDER_FILE_MIN_VERSION 306
|
||||||
#define BLENDER_FILE_MIN_SUBVERSION 13
|
#define BLENDER_FILE_MIN_SUBVERSION 13
|
||||||
|
|
||||||
|
@ -1898,7 +1898,7 @@ static void find_bbone_segment_index_curved(const bPoseChannel *pchan,
|
|||||||
* reduce the gradient slope to the ideal value (the one you get for points directly on
|
* reduce the gradient slope to the ideal value (the one you get for points directly on
|
||||||
* the curve), using heuristic blend strength falloff coefficients based on the distances
|
* the curve), using heuristic blend strength falloff coefficients based on the distances
|
||||||
* to the boundary plane before and after mapping. See PR #110758 for more details, or
|
* to the boundary plane before and after mapping. See PR #110758 for more details, or
|
||||||
* https://wiki.blender.org/wiki/Source/Animation/B-Bone_Vertex_Mapping#Curved_Mapping */
|
* https://developer.blender.org/docs/features/animation/b-bone_vertex_mapping/#curved-mapping */
|
||||||
const float segment_scale = pchan->runtime.bbone_arc_length_reciprocal;
|
const float segment_scale = pchan->runtime.bbone_arc_length_reciprocal;
|
||||||
|
|
||||||
for (int i = stack_top; i >= 0; --i) {
|
for (int i = stack_top; i >= 0; --i) {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* \ingroup editorui
|
* \ingroup editorui
|
||||||
*
|
*
|
||||||
* Base class for all views (UIs to display data sets) and view items, supporting common features.
|
* Base class for all views (UIs to display data sets) and view items, supporting common features.
|
||||||
* https://wiki.blender.org/wiki/Source/Interface/Views
|
* https://developer.blender.org/docs/features/interface/views/
|
||||||
*
|
*
|
||||||
* One of the most important responsibilities of the base class is managing reconstruction,
|
* One of the most important responsibilities of the base class is managing reconstruction,
|
||||||
* enabling state that is persistent over reconstructions/redraws. Other features:
|
* enabling state that is persistent over reconstructions/redraws. Other features:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* \ingroup editorui
|
* \ingroup editorui
|
||||||
*
|
*
|
||||||
* API for simple creation of grid UIs, supporting typically needed features.
|
* API for simple creation of grid UIs, supporting typically needed features.
|
||||||
* https://wiki.blender.org/wiki/Source/Interface/Views/Grid_Views
|
* https://developer.blender.org/docs/features/interface/views/grid_views/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* \ingroup editorui
|
* \ingroup editorui
|
||||||
*
|
*
|
||||||
* API for simple creation of tree UIs supporting typically needed features.
|
* API for simple creation of tree UIs supporting typically needed features.
|
||||||
* https://wiki.blender.org/wiki/Source/Interface/Views/Tree_Views
|
* https://developer.blender.org/docs/features/interface/views/tree_views/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
@ -1166,7 +1166,7 @@ bool PyC_IsInterpreterActive()
|
|||||||
void PyC_RunQuicky(const char *filepath, int n, ...)
|
void PyC_RunQuicky(const char *filepath, int n, ...)
|
||||||
{
|
{
|
||||||
/* NOTE: Would be nice if python had this built in
|
/* NOTE: Would be nice if python had this built in
|
||||||
* See: https://wiki.blender.org/wiki/Tools/Debugging/PyFromC */
|
* See: https://developer.blender.org/docs/handbook/tooling/pyfromc/ */
|
||||||
|
|
||||||
FILE *fp = fopen(filepath, "r");
|
FILE *fp = fopen(filepath, "r");
|
||||||
|
|
||||||
|
@ -932,7 +932,7 @@ PyDoc_STRVAR(
|
|||||||
" :type source: str\n"
|
" :type source: str\n"
|
||||||
"\n"
|
"\n"
|
||||||
" .. seealso:: `GLSL Cross Compilation "
|
" .. seealso:: `GLSL Cross Compilation "
|
||||||
"<https://wiki.blender.org/wiki/EEVEE_%26_Viewport/GPU_Module/GLSL_Cross_Compilation>`__\n");
|
"<https://developer.blender.org/docs/features/gpu/glsl_cross_compilation/>`__\n");
|
||||||
static PyObject *pygpu_shader_info_vertex_source(BPyGPUShaderCreateInfo *self, PyObject *o)
|
static PyObject *pygpu_shader_info_vertex_source(BPyGPUShaderCreateInfo *self, PyObject *o)
|
||||||
{
|
{
|
||||||
const char *vertex_source = PyUnicode_AsUTF8(o);
|
const char *vertex_source = PyUnicode_AsUTF8(o);
|
||||||
@ -977,7 +977,7 @@ PyDoc_STRVAR(
|
|||||||
" :type source: str\n"
|
" :type source: str\n"
|
||||||
"\n"
|
"\n"
|
||||||
" .. seealso:: `GLSL Cross Compilation "
|
" .. seealso:: `GLSL Cross Compilation "
|
||||||
"<https://wiki.blender.org/wiki/EEVEE_%26_Viewport/GPU_Module/GLSL_Cross_Compilation>`__\n");
|
"<https://developer.blender.org/docs/features/gpu/glsl_cross_compilation/>`__\n");
|
||||||
static PyObject *pygpu_shader_info_compute_source(BPyGPUShaderCreateInfo *self, PyObject *o)
|
static PyObject *pygpu_shader_info_compute_source(BPyGPUShaderCreateInfo *self, PyObject *o)
|
||||||
{
|
{
|
||||||
const char *compute_source = PyUnicode_AsUTF8(o);
|
const char *compute_source = PyUnicode_AsUTF8(o);
|
||||||
@ -1018,7 +1018,7 @@ PyDoc_STRVAR(
|
|||||||
" :type source: str\n"
|
" :type source: str\n"
|
||||||
"\n"
|
"\n"
|
||||||
" .. seealso:: `GLSL Cross Compilation "
|
" .. seealso:: `GLSL Cross Compilation "
|
||||||
"<https://wiki.blender.org/wiki/EEVEE_%26_Viewport/GPU_Module/GLSL_Cross_Compilation>`__\n");
|
"<https://developer.blender.org/docs/features/gpu/glsl_cross_compilation/>`__\n");
|
||||||
static PyObject *pygpu_shader_info_fragment_source(BPyGPUShaderCreateInfo *self, PyObject *o)
|
static PyObject *pygpu_shader_info_fragment_source(BPyGPUShaderCreateInfo *self, PyObject *o)
|
||||||
{
|
{
|
||||||
const char *fragment_source = PyUnicode_AsUTF8(o);
|
const char *fragment_source = PyUnicode_AsUTF8(o);
|
||||||
|
@ -195,7 +195,7 @@ static void callback_clg_fatal(void *fp)
|
|||||||
/** \name Blender as a Stand-Alone Python Module (bpy)
|
/** \name Blender as a Stand-Alone Python Module (bpy)
|
||||||
*
|
*
|
||||||
* While not officially supported, this can be useful for Python developers.
|
* While not officially supported, this can be useful for Python developers.
|
||||||
* See: https://wiki.blender.org/wiki/Building_Blender/Other/BlenderAsPyModule
|
* See: https://developer.blender.org/docs/handbook/building_blender/python_module/
|
||||||
* \{ */
|
* \{ */
|
||||||
|
|
||||||
#ifdef WITH_PYTHON_MODULE
|
#ifdef WITH_PYTHON_MODULE
|
||||||
|
Loading…
Reference in New Issue
Block a user