﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ARef%2FRelease_Notes%2F2.79%2FPythonAPI</id>
	<title>Dev:Ref/Release Notes/2.79/PythonAPI - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ARef%2FRelease_Notes%2F2.79%2FPythonAPI"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.79/PythonAPI&amp;action=history"/>
	<updated>2026-08-31T05:47:25Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.79/PythonAPI&amp;diff=152581&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.79/PythonAPI&amp;diff=152581&amp;oldid=prev"/>
		<updated>2018-06-28T21:21:40Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 21:21時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.79/PythonAPI&amp;diff=152580&amp;oldid=prev</id>
		<title>wiki&gt;Lijenstina: /* Forward Compatibility */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.79/PythonAPI&amp;diff=152580&amp;oldid=prev"/>
		<updated>2017-07-16T13:50:09Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Forward Compatibility&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Blender 2.79: Python API =&lt;br /&gt;
&lt;br /&gt;
== Breaking Changes ==&lt;br /&gt;
* Switched default value of &amp;lt;code&amp;gt;do_unlink&amp;lt;/code&amp;gt; parameter of &amp;lt;code&amp;gt;bpy.data.xxx.remove()&amp;lt;/code&amp;gt; functions from &amp;lt;code&amp;gt;False&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;True&amp;lt;/code&amp;gt;. ({{GitCommit|44b691dc658}}){{clr}}&lt;br /&gt;
&lt;br /&gt;
== Data-block Pointer Properties ==&lt;br /&gt;
&lt;br /&gt;
Custom properties can now store pointers to data-blocks like objects, materials, etc. For this the a &amp;lt;code&amp;gt;PointerProperty&amp;lt;/code&amp;gt; with a datablock type can be created.&lt;br /&gt;
&lt;br /&gt;
==== Forward Compatibility ====&lt;br /&gt;
&lt;br /&gt;
Unfortunately, this new custom property type revealed a critical bug in current code, which crashes Blender on unknown property types. This bug has been fixed in {{GitCommit|15189baa52}} for the future, but it is impossible to fix this for existing releases. &lt;br /&gt;
&amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''This means that trying to load a .blend file using new data-block custom properties will crash on any version prior to 2.79'''.&lt;br /&gt;
&lt;br /&gt;
For more technical details about the problem, see {{BugReport|51260}}.&lt;br /&gt;
&lt;br /&gt;
== Render Passes ==&lt;br /&gt;
&lt;br /&gt;
Render passes are now identified exclusively by their name, the type property has been removed. The purpose of that change is to allow external rendering engines to produce arbitrary render passes and return them to Blender, rather than being limited to the 31 types of passes exposed by Blender before. ({{GitCommit|4cf7fc3b3a4d}}),)&lt;br /&gt;
&lt;br /&gt;
Changes:&lt;br /&gt;
* The properties &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;debug_type&amp;lt;/code&amp;gt; have been removed from the &amp;lt;code&amp;gt;RenderPass&amp;lt;/code&amp;gt; struct.&lt;br /&gt;
* The function &amp;lt;code&amp;gt;find_by_name&amp;lt;/code&amp;gt; has been added to the &amp;lt;code&amp;gt;RenderPasses&amp;lt;/code&amp;gt; struct, and &amp;lt;code&amp;gt;find_by_type&amp;lt;/code&amp;gt; has been deprecated.&lt;br /&gt;
* &amp;lt;code&amp;gt;SceneRenderLayer&amp;lt;/code&amp;gt; now supports custom properties, which allows render engines to add their own pass options.&lt;br /&gt;
* &amp;lt;code&amp;gt;RenderEngine&amp;lt;/code&amp;gt; has three new functions:&lt;br /&gt;
** &amp;lt;code&amp;gt;add_pass&amp;lt;/code&amp;gt;, which can be called by the render engine while rendering to add a render pass to the render result by providing its name, amount of channels, characters identifying the channels (like &amp;lt;code&amp;gt;RGBA&amp;lt;/code&amp;gt;) and optionally which render layer it should be added to.&lt;br /&gt;
** &amp;lt;code&amp;gt;update_render_passes&amp;lt;/code&amp;gt;, which has to be implemented by render engines that use render passes. It's purpose is to inform Blender of which passes will be generated given the current options, which is does by calling &amp;lt;code&amp;gt;register_pass&amp;lt;/code&amp;gt; for each one.&lt;br /&gt;
** &amp;lt;code&amp;gt;register_pass&amp;lt;/code&amp;gt; should be called by update_render_passes to inform Blender about a pass that will be generated by passing the name, channels and data type (used to determine the compositor output socket).&lt;br /&gt;
* 31 pass names are reserved to represent the former 31 pass types. Render Engines may provide these passes, but should consider that they will be associated with the legacy pass types (for example, compositor node connections will be preserved).&lt;br /&gt;
&lt;br /&gt;
=== Other New APIs ===&lt;br /&gt;
&lt;br /&gt;
* [https://www.blender.org/api/blender_python_api_master/bpy.types.ID.html#bpy.types.ID.make_local &amp;lt;code&amp;gt;bpy.types.ID.make_local()&amp;lt;/code&amp;gt;] to make a single ID block local. ({{GitCommit|592e9e9245}})&lt;br /&gt;
* Inserting entries in the right click menu (and retrieving data from the UI element that you clicked on the entry). Example in [https://docs.blender.org/api/blender_python_api_current/bpy.types.Menu.html#custom-item-in-the-right-click-menu &amp;lt;code&amp;gt;bpy.types.Menu&amp;lt;/code&amp;gt; docs]. ({{GitCommit|d6963630d}})&lt;br /&gt;
* ID property arrays support the Python buffer protocol. This makes it possible to create and access those arrays much more efficiently. ({{GitCommit|73a9ff0d2d4f}})&lt;/div&gt;</summary>
		<author><name>wiki&gt;Lijenstina</name></author>
		
	</entry>
</feed>