From 1750a2bbc828d1cf67f9c44e73c28954c6c563a1 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Wed, 2 Apr 2025 12:52:09 +0200 Subject: [PATCH] Fix #136395: Python API Quickstart uses outdated API Replace with a working example. Pull Request: https://projects.blender.org/blender/blender/pulls/136882 --- doc/python_api/rst/info_quickstart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/python_api/rst/info_quickstart.rst b/doc/python_api/rst/info_quickstart.rst index ac6892beea9..eed2da6261d 100644 --- a/doc/python_api/rst/info_quickstart.rst +++ b/doc/python_api/rst/info_quickstart.rst @@ -363,8 +363,8 @@ so these are accessed as normal Python types. .. code-block:: python - # setting multiple camera overlay guides - bpy.context.scene.camera.data.show_guide = {'GOLDEN', 'CENTER'} + # setting multiple snap targets + bpy.context.scene.tool_settings.snap_elements_base = {'VERTEX', 'EDGE'} # passing as an operator argument for report types self.report({'WARNING', 'INFO'}, "Some message!")