﻿<?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%3AAligorith%2FDevFund-2017</id>
	<title>利用者:Aligorith/DevFund-2017 - 版の履歴</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%3AAligorith%2FDevFund-2017"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Aligorith/DevFund-2017&amp;action=history"/>
	<updated>2026-11-05T01:42:24Z</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:Aligorith/DevFund-2017&amp;diff=153967&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:Aligorith/DevFund-2017&amp;diff=153967&amp;oldid=prev"/>
		<updated>2018-06-28T21:23:21Z</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:Aligorith/DevFund-2017&amp;diff=153966&amp;oldid=prev</id>
		<title>wiki&gt;Aligorith: /* Week 6 - (30 Oct - 3 Nov) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Aligorith/DevFund-2017&amp;diff=153966&amp;oldid=prev"/>
		<updated>2017-11-04T05:21:06Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Week 6 - (30 Oct - 3 Nov)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= DevFund 2017 - Weekly Logs =&lt;br /&gt;
&lt;br /&gt;
== Week 6 - (30 Oct - 3 Nov) ==&lt;br /&gt;
This week was mostly spent refactoring the GP branch to get it into shape for production ASAP. As the Hero open-movie production is now underway (AFAIK, work on animating the shots is now in progress), it is getting important to get the branch ready for merge/merged so that production can take place using the Blender 2.8 branch proper.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Grease Pencil:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
As per last week&amp;#039;s update, I&amp;#039;ve been working on implementing the proposed fixes (mentioned on the patch review), and fixing/refactoring problematic code as I came across it. Although I initially planned to implement the modifier fixes first before making the ob.data changes, it turned out that it was easier to do the latter first, as a lot of stuff (e.g. depsgraph support) almost came for free once that happened (or rather, once the appropriate standard bits and pieces were plugged in)&lt;br /&gt;
&lt;br /&gt;
The (short-ish) list of important changes made:&lt;br /&gt;
* GP Objects now store their data in &amp;lt;code&amp;gt;ob.data&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;ob.grease_pencil&amp;lt;/code&amp;gt;, to bring them more in line with other object types.&lt;br /&gt;
** Note: This ended up taking longer than originally expected, as it turned out there were quite a few &amp;quot;standard object type&amp;quot; support things missing in various places that had to be found and implemented. (Emphasis here is on the &amp;quot;needed to be found&amp;quot; part, as it wasn&amp;#039;t always obvious in a few cases what was missing)&lt;br /&gt;
&lt;br /&gt;
* Refactored the way that GP Modifiers were implemented&lt;br /&gt;
** Added callbacks for GP modifiers into &amp;lt;code&amp;gt;ModifierTypeInfo&amp;lt;/code&amp;gt;&lt;br /&gt;
** Moved the implementation for each modifier into its own file&lt;br /&gt;
** Cleaned up the implementation of each modifier to resolve various problems (e.g. G.main access, evil_C access, bugs, re-implementation of existing lib functions/data-structures/math/etc.)&lt;br /&gt;
** Reimplemented and merged the implementations for the Array/Duplication modifiers. The two modifiers were effectively duplicating functionality (it&amp;#039;s kindof ironic even) but with different implementations and subtle bugs between them.&lt;br /&gt;
&lt;br /&gt;
* Cleaned up most of the calls used to ensure GP objects updated the draw cache correctly&lt;br /&gt;
** Removed all uses of the &amp;lt;code&amp;gt;BKE_gpencil_batch_cache_alldirty()&amp;lt;/code&amp;gt; function (which used G.main) in favour of the version that takes a &amp;lt;code&amp;gt;Main *bmain&amp;lt;/code&amp;gt; arg, OR eliminating these althogether.&lt;br /&gt;
** Removed many of the superfluous &amp;lt;code&amp;gt;BKE_gpencil_batch_cache_dirty()&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;alldirty()&amp;lt;/code&amp;gt; variants in various places - They should only be reintroduced if/when not having them causes a legitimate problem after depsgraph fixes were performed.&lt;br /&gt;
** Made Lattice modifier make proper use of the Depsgraph for triggering updates, instead of hacking in support in various places&lt;br /&gt;
** Fixed various update bugs for modifier properties (no refresh) and dopesheet layer toggles (crash)&lt;br /&gt;
** Note: Most problems here went away once I implemented Depsgraph support for GP objects, and removed all the old calls&lt;br /&gt;
&lt;br /&gt;
* Implemented missing support for various things&lt;br /&gt;
** Outliner now displays icons for all GP Modifiers&lt;br /&gt;
** Outliner indicates active layer (instead of displaying them all with the same useless dot icon)&lt;br /&gt;
** Apply Transforms for Objects&lt;br /&gt;
&lt;br /&gt;
* General code refactoring to fix duplicate definitions, style, etc.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General Dev/Tracker:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fixed&amp;#039;&amp;#039;&amp;#039;: 1, &amp;#039;&amp;#039;&amp;#039;Closed&amp;#039;&amp;#039;&amp;#039;: 2, &amp;#039;&amp;#039;&amp;#039;Triaged/Investigated&amp;#039;&amp;#039;&amp;#039;: 1&lt;br /&gt;
* Reviewed and approved D2884 and D2796&lt;br /&gt;
&lt;br /&gt;
== Week 5 - (24 Oct - 27 Oct) ==&lt;br /&gt;
Short week - Monday was a national holiday here in NZ (Labour Day). Also had a nasty migrane that day, so didn&amp;#039;t get much done.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General Dev/Tracker:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fixed&amp;#039;&amp;#039;&amp;#039;: 2, &amp;#039;&amp;#039;&amp;#039;Closed&amp;#039;&amp;#039;&amp;#039; (Invalid/Support Requests): 6, &amp;#039;&amp;#039;&amp;#039;Triaged&amp;#039;&amp;#039;&amp;#039;: 5&lt;br /&gt;
* Spent time reviewing D2884, D48988. Both should be ready for merging next week&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Grease Pencil:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* After spending a good chunk of time digging through both the standard modifier system, and the GP-branch drawing code and modifier system, I *finally* understood the full nature of what&amp;#039;s going on here with GP Modifier + Depsgraph concerns raised in the code review ([https://developer.blender.org/D2889#67959]). Basically, the GP branch just seems to be using various callbacks for the wrong purposes, leading to all the confusion we&amp;#039;ve been having. For further details, see my comment on the Diff Revision ([https://developer.blender.org/D2889#68152]).&lt;br /&gt;
&lt;br /&gt;
* I then started work implementing these changes (during the week and over the weekend). Progress as of Sunday night:&lt;br /&gt;
** Implemented proper depsgraph support for GPencil and GP modifiers&lt;br /&gt;
** Changed all old code using ob-&amp;gt;gpd to use ob-&amp;gt;data instead. This turned out to take a lot more work than expected (e.g. finding all the places where ob-&amp;gt;data handling is required but was missing). However, on the other hand, doing so has simplified all the code a lot, and has allowed removing a few hacks.&lt;br /&gt;
** Removed last instances of BKE_gpencil_batch_cache_alldirty() (which uses G.main) in favor depsgraph/supplied-args.&lt;br /&gt;
&lt;br /&gt;
== Week 4 - (16 Oct - 20 Oct) ==&lt;br /&gt;
Most of this week was spent on code/patch review work.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General Dev/Tracker:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* Reviewed D2783, and started reviewing D2884&lt;br /&gt;
* Spent time looking into how we can represent different keyframe handle/interpolation types&lt;br /&gt;
* Tracker - &amp;#039;&amp;#039;&amp;#039;Fixed&amp;#039;&amp;#039;&amp;#039;: 1,  &amp;#039;&amp;#039;&amp;#039;Investigated&amp;#039;&amp;#039;&amp;#039;: 4, &amp;#039;&amp;#039;&amp;#039;Closed&amp;#039;&amp;#039;&amp;#039;: 4, &amp;#039;&amp;#039;&amp;#039;Triaged&amp;#039;&amp;#039;&amp;#039;: 2&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Grease Pencil:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* Prepared branch for merge/review - tidied up various todos (e.g. plan for how the version patching would be handled)&lt;br /&gt;
* Uploaded patch for review ([D2889 | https://developer.blender.org/D2889])&lt;br /&gt;
&lt;br /&gt;
== Non-DevFund Week (9 Oct - 13 Oct) ==&lt;br /&gt;
This week I was busy with uni stuff (yay! I successfully defended my PhD thesis!)&lt;br /&gt;
&lt;br /&gt;
== Non-DevFund Week (2 Oct - 6 Oct) ==&lt;br /&gt;
This week I wasn&amp;#039;t officially working for the devfund.&lt;br /&gt;
&lt;br /&gt;
That said, I spent most of the week working on wrapping up some of the most pressing issues before the &amp;lt;code&amp;gt;greasepencil-object&amp;lt;/code&amp;gt; branch could be merged:&lt;br /&gt;
* Finished up the Palette Slots implementation&lt;br /&gt;
* Fixed the slow compilation/gcc compile errors in the &amp;lt;code&amp;gt;gpencil_add_monkey.c&amp;lt;/code&amp;gt; file, caused by having too many large arrays within a single function (there were ~35 of them, totalling around 150-180kb of code).&lt;br /&gt;
&lt;br /&gt;
== Week 3 - (25 Sep - 29-Sep) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General Dev/Tracker:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fixed&amp;#039;&amp;#039;&amp;#039;: 2, &amp;#039;&amp;#039;&amp;#039;Closed&amp;#039;&amp;#039;&amp;#039;: 6, &amp;#039;&amp;#039;&amp;#039;Triaged/Investigated&amp;#039;&amp;#039;&amp;#039;: 4&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Patches Reviewed&amp;#039;&amp;#039;&amp;#039;: 2&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Unreported Bugs Fixed&amp;#039;&amp;#039;&amp;#039;: 1  (ported over from GP branch)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Grease Pencil:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
This week I worked on addressing the most critical issues identified in the review doc, and reviewing all aspects of the code, with the target of getting the branch ready for review &amp;amp; merged/stable by mid-October.&lt;br /&gt;
* Fixed the problem where new GP datablocks were getting created each time you start drawing when the active object isn&amp;#039;t a GP object&lt;br /&gt;
* Fix long-standing bug where GP strokes are obscured when transforming in &amp;quot;local&amp;quot; mode&lt;br /&gt;
* Reviewed the file IO code and fixed a number of bugs there (e.g. missing calls to datablock pointer relinking functions, make single user/scene full copy not working)&lt;br /&gt;
* Code cleanup/reshuffling (e.g. moved Monkey primitive (with &amp;gt; 180 kb of code/defines) to its own file)&lt;br /&gt;
* Started implementing &amp;quot;Palette Slots&amp;quot; system (equivalent to the Material Slots for standard objects) to make it easier to manage GP objects using multiple palettes.&lt;br /&gt;
&lt;br /&gt;
== Week 2 - (18 Sep - 22 Sep) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General Dev/Tracker:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fixed&amp;#039;&amp;#039;&amp;#039;: 2,  &amp;#039;&amp;#039;&amp;#039;Triaged&amp;#039;&amp;#039;&amp;#039;: 10,  &amp;#039;&amp;#039;&amp;#039;Closed&amp;#039;&amp;#039;&amp;#039;: 4,  &amp;#039;&amp;#039;&amp;#039;Investigated (Unresolved)&amp;#039;&amp;#039;&amp;#039;: 3   - &amp;#039;&amp;#039;&amp;#039;Total&amp;#039;&amp;#039;&amp;#039;: 19&lt;br /&gt;
* Also spent time trying to figure out how to get the &amp;quot;Pose Propagate&amp;quot; operator working with NLA tweakmode&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Grease Pencil:&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
* Wrote up doc reviewing current state of GP 2.8 branch UI, and various bugs/workflow issues present:&lt;br /&gt;
** https://docs.google.com/document/d/1ST_JBqJjiF53OSq5Odj-Xieuep89TfcOaDfl-lqcVU0/edit?usp=sharing&lt;br /&gt;
** Applied some of the simpler UI tweaks identified (e.g. Display and Onion Skinning Panel layouts, Mode labels)&lt;br /&gt;
&lt;br /&gt;
* Worked on a fix for the problem where new GP objects get created when starting to draw when the active object isn&amp;#039;t a GP object. However, I ran into some difficulties setting the active object. More investigation needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Week 1 - (11 Sep - 15 Sep) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;General Dev/Tracker&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
* Reviewed assigned bugs in the tracker&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fixed&amp;#039;&amp;#039;&amp;#039;: 2,  &amp;#039;&amp;#039;&amp;#039;Triaged&amp;#039;&amp;#039;&amp;#039;: 11 (5 incomplete), &amp;#039;&amp;#039;&amp;#039;Closed&amp;#039;&amp;#039;&amp;#039;: 6   - &amp;#039;&amp;#039;&amp;#039;Total&amp;#039;&amp;#039;&amp;#039;: 19&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Grease Pencil&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
I spent time this week getting up to speed with the current state of the Grease Pencil branch (i.e. reviewing current design, pending tasks/todos, figuring out what needs to happen for a 2.8 branch merge, testing the branch).&lt;br /&gt;
&lt;br /&gt;
* Started work on integrating Grease Pencil keyframes into standard DopeSheet&lt;br /&gt;
   [[Image:20170913-gpencil_ds_integration-sneak_peak-01.png]]&lt;br /&gt;
&lt;br /&gt;
* Attended Grease Pencil meeting with Antonio, Dalai, Daniel, and Matias discussing pending issues for 2.8 merge&lt;/div&gt;</summary>
		<author><name>wiki&gt;Aligorith</name></author>
		
	</entry>
</feed>