Revision 583b871 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Cleanup: Ported Lattice Modifier code over to new callbacks |
Revision f5852be by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Cleanup: Use vec2f instead of defining our own 2d point type |
Revision 7db53c1 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Outliner: Indicate which GP layer is active Active layers get the colored pencil, while inactive ones get the dot |
Revision 4b4bb0c by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Outliner now displays icons for GP Modifiers |
Revision df28945 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
GP Modifiers: Replace defunct "Duplication" modifier with "Build" modifier It doesn't actually do anything now, and most of its properties are undefined as well, but we don't want to break any existing files now (as renumbering the other modifiers would cause issues) Note: BKE_gpencil_reset_modifiers() has been removed. If the array modifier needs this, we will have to find another solution to this. |
Revision a88cdce by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Fixes to various GP Modifiers * Array modifier can be shown in editmode (TODO: When "Make Objects" is enabled, this breaks) * Color (hue/sat) modifier was still using G.main -> Updated to use palette slots instead |
Revision bac4029 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Fix: Inconsistent behaviour between different GP array modifier cases The main culprits here were: 1) Wrong order of matrix multiplication (resulting in inverted grid layout) 2) Directly reading off diagonals from matrix as scale, which failed when objects were rotated |
Revision cbe0626 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Cleanup: Remove a bunch of redundant/bad old code |
Revision 4311de9 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Fix UI breakage (GP Modifiers / 3D View header) after ob->gpd --> ob->data refactor |
Revision 442d3f2 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
GP Array Modifier: Bring back draw-engine hack for array modifier drawing This time, it only runs when "Make Objects" is enabled on a modifier, giving users a workaround for the z-ordering problems. |
Revision 1d27ca9 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Fix: GP Modifiers UI was broken during the ob->gpd --> ob->data refactor |
Revision bb14750 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Fix: GP array modifier's "count" property should have a lower "sane" limit Previously, the upper bound for dragging in the UI was effectively unlimited. This has the unfortunate consequence of causing hard resets (out of bounds/memory) as I found out last night while testing this. |
Revision b7ad3ea by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
GP Modifiers - Merge Array and Duplication modifiers Array and Duplication modifiers basically implemented the same functionality, except that: 1) Array was slightly more powerful (i.e. it could make a 3D grid instead of just putting everything in a single line), and 2) Array created new objects when "Applying", while Duplication added to the current datablock This commit basically merges the functionality of both into the Array modifier. I ended up recoding this modifier to hopefully work a lot faster. * The resulting modifier more closely resembles the behaviour of the normal Blender Array modifier. * Performance should be better now with over 25 objects (previous array modifier implementation lagged badly with more than 25-30 instances). The previous approach of manually creating objects didn't work too well. TODO: * The functionality to disable the instance creation when the simplify options are enabled is currently lost. Still need to figure out how to restore it * The stubs/shell for the old Duplication modifier are still around. To be removed! |
Revision 52edc1a by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Port Subdiv GP Modifier |
Revision cc9eb7b by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Restored manual gpencil_batch_cache_dirty() call when adding modifiers There are too many problems leaving it out, even if in theory the depsgraph calls should be taking care of it. |
Revision b19021e by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Temporary (?) fix so that Hero project files get version patched correctly |
Revision 32e49c7 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Porting more GP Modifiers * Opacity modifier * Color modifier * Thickness modifier * Tint modifier |
Revision abf0f70 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Cleanup: Remove unused function |
Revision 0fdfff5 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
Fix: GP modifiers not updating when properties changed Added back an explicit call to BKE_gpencil_batch_cache_dirty() in the rna update callback for GPencil modifier properties. However, instead of polluting the general rna_Modifier_update(), this time we do this in a special wrapper/update callback for dedicated GP modifier usage. I'm unsure why the depsgraph isn't properly updating this case - there's probably a missing relation between modifier properties and GP ubereval (which calls the tagging), but where?! |
Revision 30780a4 by Joshua Leung (experimental_gp_weight, greasepencil-experimental, greasepencil-object, greasepencil-refactor, soc-2019-npr, temp-gpencil-eval, temp-greasepencil-object-stacksplit, temp-greasepencil-vfx) November 4, 2017, 04:43 (GMT) |
GP Modifier: Set up stubs for geometry modifiers too |
|