﻿<?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=%E5%88%A9%E7%94%A8%E8%80%85%3ARaa%2FAddons%2FPie_Menu_Editor%2FEditors%2FModal_Operator</id>
	<title>利用者:Raa/Addons/Pie Menu Editor/Editors/Modal Operator - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3ARaa%2FAddons%2FPie_Menu_Editor%2FEditors%2FModal_Operator"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Raa/Addons/Pie_Menu_Editor/Editors/Modal_Operator&amp;action=history"/>
	<updated>2026-05-04T00:07:15Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Raa/Addons/Pie_Menu_Editor/Editors/Modal_Operator&amp;diff=153995&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Raa/Addons/Pie_Menu_Editor/Editors/Modal_Operator&amp;diff=153995&amp;oldid=prev"/>
		<updated>2018-06-28T21:23:24Z</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:23時点における版&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=%E5%88%A9%E7%94%A8%E8%80%85:Raa/Addons/Pie_Menu_Editor/Editors/Modal_Operator&amp;diff=153994&amp;oldid=prev</id>
		<title>2017年9月19日 (火) 14:33にwiki&gt;Raaによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Raa/Addons/Pie_Menu_Editor/Editors/Modal_Operator&amp;diff=153994&amp;oldid=prev"/>
		<updated>2017-09-19T14:33:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;width:640px; margin:0 auto&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Modal Operator =&lt;br /&gt;
&lt;br /&gt;
Modal Operator is an interactive tool that blocks access to other tools until you confirm or cancel it. Modal Operators have their own sub-hotkeys allowing you to adjust the tool and preview the changes.&lt;br /&gt;
&lt;br /&gt;
''Rotate'' tool {{Shortcut|R}} is a good example of modal operators.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Tutorial =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube width=640&amp;gt;aDEX5bix384&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Editor =&lt;br /&gt;
&lt;br /&gt;
[[File:Pme_modal_slots.png|link=|]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Modal Operator Editor is a collection of editable slots which are used to add sub-hotkeys to the tool or execute python code depending on the current state of the modal operator:&lt;br /&gt;
&lt;br /&gt;
[[File:Pme_modal_tabs.png|link=|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
== Command ==&lt;br /&gt;
&lt;br /&gt;
Adds a sub-hotkey to execute assigned python code.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
== Property ==&lt;br /&gt;
&lt;br /&gt;
Adds a sub-hotkey to change the value of the property or local variable defined in ''On Invoke'' slot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Hotkey Modes ===&lt;br /&gt;
{| class=normaltable |&lt;br /&gt;
! Hotkey&lt;br /&gt;
| Press and hold down the sub-hotkey and move the mouse to change the value of the property.&lt;br /&gt;
|-&lt;br /&gt;
! Mouse Move&lt;br /&gt;
| Move the mouse to change the value of the property.&lt;br /&gt;
&lt;br /&gt;
This mode is useful only when [[#Confirm_on_Release|''Confirm on Release'']] option is enabled because it blocks all other sub-hotkeys.&lt;br /&gt;
|-&lt;br /&gt;
! Mouse Wheel&lt;br /&gt;
| Scroll mouse whell up or down to change the value of the property.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
== On Invoke ==&lt;br /&gt;
&lt;br /&gt;
Python code that will be executed when the user invokes the modal operator.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
== On Confirm ==&lt;br /&gt;
&lt;br /&gt;
Python code that will be executed when the user confirms the modal operator.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
== On Cancel ==&lt;br /&gt;
&lt;br /&gt;
Python code that will be executed when the user cancels the modal operator.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
== On Update ==&lt;br /&gt;
&lt;br /&gt;
Python code that will be executed when the user presses one/any of the sub-hotkeys.&lt;br /&gt;
&lt;br /&gt;
To assign ''On Update'' slot to one of the sub-hotkeys you need to place the slot after that sub-hotkey.&lt;br /&gt;
&lt;br /&gt;
To assign ''On Update'' slot to all sub-hotkeys you need to place it before any of sub-hotkey (''Command'' or ''Property'') slots.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Scripting =&lt;br /&gt;
&lt;br /&gt;
{{User:Raa/Templates/Doc&lt;br /&gt;
|'''confirm''' ()&lt;br /&gt;
|desc=Confirm modal operator&lt;br /&gt;
|returns=''True''&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{User:Raa/Templates/Doc&lt;br /&gt;
|'''cancel''' ()&lt;br /&gt;
|desc=Cancel modal operator&lt;br /&gt;
|returns=''True''&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Settings =&lt;br /&gt;
&lt;br /&gt;
[[File:Pme_modal_settings.png|link=|]]&lt;br /&gt;
&lt;br /&gt;
== Confirm on Release ==&lt;br /&gt;
&lt;br /&gt;
Confirms the modal operator when the user releases the hotkey used to call the modal operator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;Raa</name></author>
		
	</entry>
</feed>