Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-26CMake: add headers to source lists, sort file-listsCampbell Barton
2021-03-24GPencil: Fix unreported crash when apply Lattice modifierAntonio Vazquez
This error was produced because now it is possible to have several Lattice modifiers and the Bake was removing the lattice data of all modifiers. Now the data is only recalculated and removed for the current modifier. Also some cleanup of comments.
2021-03-23Fix incorrect flag usage in line art modifierCampbell Barton
2021-03-23RNA: correction to a05cbc9914a76fa50c8367262dff507506e26c66Campbell Barton
The clipping plane bias is an implementation detail, don't use this in the RNA name.
2021-03-22Cleanup, LineArt: Fix MSVC compiler warnings.Nikhil Shringarpurey
Currently 3 of the printf lines use the format specifier "%lu" for data of type size_t instead of "%zu". While this works, this creates compiler warnings. This diff fixes those warnings by using the correct format specifier. Tested using MSVC, but should be correct on any compliant compiler. Reviewed By: Sebastian Parborg Differential Revision: http://developer.blender.org/D10761
2021-03-22Fix UI (and code!) typos.Bastien Montagne
2021-03-22RNA: rename recently added line-art propertiesCampbell Barton
- Use `use_` prefix for boolean properties. - Use `_all` instead of `_everything`, following existing conventions and the properties UI text. - Use `object_instances` instead of old term `dupli` / `duplication`. - Use `clip_plane` instead of `clipping_boundaries`, matching the RegionView3D property naming.
2021-03-22RNA: use boolean array for transarency masksCampbell Barton
There is no need to expose this as multiple properties, also use `use_` prefix for boolean properties.
2021-03-22Cleanup: spelling, expand on commentsCampbell Barton
2021-03-21Cleanup: move some headers from MOD_lineart.h to source filesCampbell Barton
2021-03-21Cleanup: redundant headers in 'source/blender/gpencil_modifiers'Campbell Barton
2021-03-21Cleanup: unused return statementsCampbell Barton
2021-03-21Cleanup: remove window manager headers from MOD_lineartCampbell Barton
This was only used to return success, which is currently never checked.
2021-03-21Cleanup: replace 'unsigned char' with 'uchar'Campbell Barton
2021-03-21Cleanup: remove redundant castsCampbell Barton
2021-03-21Cleanup: spelling, doxygen comment formattingCampbell Barton
2021-03-20Cleanup: quiet warningJacques Lucke
2021-03-20LineArt: Fix blank baking for when source type is object.YimingWu
2021-03-20LineArt: Fixed source selection for nested-instanced collection.YimingWu
2021-03-20Fix T86730: LineArt: keep contour when there's perpendicular faces.YimingWu
2021-03-19LineArt: Add missing modifer and sanity checks to bake operatorSebastian Parborg
Previously we could crash because we would not check if the modifier in question actually was a line art modifier. We also did not query if the modifier was disabled.
2021-03-19LineArt: Added back the missing "allow_clipping_boundaries" option.YimingWu
This option was missing from the UI. Also add missing camera settings depsgraph relation.
2021-03-19LineArt: Remove geometry space chainingYimingWu
It caused some chaining errors when used in combination with image space chaining. After some internal discussion, we realized it is not useful as chaining in image space essentially does the same thing.
2021-03-18Cleanup, LineArt: Sample -> ResampleYimingWu
Clear up what sample length does by renaming the option and variables.
2021-03-18LineArt: Expose the allow_duplication property for instanced objects.YimingWu
It was missing from the UI.
2021-03-18Fix T86692: Start Line Art GP objects on frame 0YimingWu
If playback starts before the first GP frame, we will get "ghost" strokes.
2021-03-18LineArt: Do not calculate lines for objects not includedYimingWu
Only use non included objects for potential occlusion queries. Don't calculate lines for them. This fixes intersection lines appearing on objects not included by the lineart modifier.
2021-03-18Cleanup, LineArt: Rename LineartLine -> LineartEdgeSebastian Parborg
Also cleanup various other "line" variable names
2021-03-17Cleanup: Remove commented codeHans Goudey
Mistake in earlier commit rBbe33d3eccdcdf252. Also use const and set layouts disabled when the line art is baked.
2021-03-17UI: Tweak labels, descriptions, and panel layout for line artHans Goudey
Changes include: - Use `IFACE_` for UI labels set in the modifier panels - Use a sub-sub-panel for transparency - Fix grammar and spelling mistakes - Use more natural user-friendly wording - Make descriptions more specific and more useful - Don't capitalize "line art" in descriptions (tooltips) These changes are aimed at making the UI strings more consistent with the rest of the UI and being more helpful to someone trying to understand how to use the modifier. Differential Revision: https://developer.blender.org/D10750
2021-03-17LineArt: Fix transparenct mask in cutting function.YimingWu
2021-03-17LineArt: Fix transparency flag error during cutting and chaining.YimingWu
2021-03-17LineArt: Remove "Render" in structure names.YimingWu
2021-03-17LineArt: better explaination in lineart_line_cut()YimingWu
2021-03-16Grease Pencil: Add LineArt modifierYimingWu
This adds the LineArt grease pencil modifier. It takes objects or collections as input and generates various grease pencil lines from these objects with the help of the active scene camera. For example it can generate contour lines, intersection lines and crease lines to name a few. This is really useful as artists can then use 3D meshes to automatically generate grease pencil lines for characters, enviroments or other visualization purposes. These lines can then be baked and edited as regular grease pencil lines. Reviewed By: Sebastian Parborg, Antonio Vazquez, Matias Mendiola Differential Revision: http://developer.blender.org/D8758
2021-03-11GPencil: Remove limitation to use only one Lattice modifierAntonio Vazquez
This limitation was necessary in older versions, but now can be removed.
2021-03-09Cleanup: Do not pass stack allocated string to MEM_callocNHans Goudey
2021-02-14Cleanup: spellingCampbell Barton
2021-01-15Gpencil Noise - Add noise offset parameterCody Winchester
This patch adds a noise offset option to the grease pencil noise modifier. It allows the user to animate the noise along the length of the stroke to create movement that is currently not possible. It works by adding an offset to the noise table and adding the remaining floating point value to the noise table sampling. Reviewed By: #grease_pencil Differential Revision: https://developer.blender.org/D10021
2021-01-14GPencil: Noise Modifier - Move noise seed value outside of randomize subpanelCody Winchester
Currently the grease pencil noise modifier seed value is under the randomize subpanel. Moved the seed value outside of this panel because it doesn't only change the noise when using the randomize option. Moving the seed value prevents it from being hidden/greyed out so the user can manually keyframe it to control the noise animation. Reviewed By: #grease_pencil, antoniov Differential Revision: https://developer.blender.org/D10020
2021-01-05Cleanup: remove UNUSED(..) from public function declarationsCampbell Barton
This doesn't serve any purpose and can become out of sync with the function it's self without reporting warnings.
2020-12-28Add operator to copy a modifier to all selected objectsErik Abrahamsson
These two operators (one for grease pencil, one for other objects) copy a single modifier from the active object to all selected objects. The operators are exposed in the dropdown menus in modifier headers. Note that It's currently possible to drag and drop modifiers between objects in the outliner, but that only works for dragging to one object at a time. Modifiers can also be copied with the "Make Links" operator, but that copies *all* modifiers rather than just one. The placement and scope of these new operators allow for more useful poll messages and error messages as well. Every object type that supports modifiers is supported. Although hook and collision modifiers aren't supported because of an unexplained comment in `BKE_object_copy_modifier`, other than that, every modifier type is supported, including particle systems, nodes modifiers, etc. The new modifiers are set active, which required two small tweaks to `object.c` and `particle.c`. Reviewed By: Hans Goudey (with additional edits) Differential Revision: https://developer.blender.org/D9537
2020-12-16Cleanup: remove redundant struct declarationsCampbell Barton
2020-12-16Cleanup: clang-formatCampbell Barton
2020-12-16GPencil Array - Add option for uniform random scalingCody Winchester
This patch adds the option to make the random scaling from the grease pencil array modifier uniform. The current settings allow a separate value for each of the 3 scaling axis. The modifier also creates different seed values for each axis so there is no way to keep the random scaling uniform. This patch creates 1 random seed value and applies it to each of the scaling axis. Here is a demonstration of the previous behavior and the new optional behavior. {F9485973} {F9485981} {F9485798} Reviewed By: #grease_pencil, antoniov, pepeland Differential Revision: https://developer.blender.org/D9764
2020-12-15Cleanup: reduce indirect DNA header inclusionCampbell Barton
Remove DNA headers, using forward declarations where possible. Also removed duplicate header, header including it's self and unnecessary inclusion of libc system headers from BKE header.
2020-11-13GPencil: Merge GSoC curve edit modeFalk David
Differential Revision: https://developer.blender.org/D8660 This patch is the result of the GSoC 2020 "Editing Grease Pencil Strokes Using Curves" project. It adds a submode to greasepencil edit mode that allows for the transformation of greasepencil strokes using bezier curves. More information about the project can be found here: https://wiki.blender.org/wiki/User:Filedescriptor/GSoC_2020.
2020-11-13Cleanup: Make panel type flag names more clearHans Goudey
The overlap with the `Panel` flags that start with "PNL" was quite confusing because wasn't clear which enum a flag was from. The new names are a bit longer, but the clarity is worth it.
2020-11-06Cleanup: Render Module: move header files to main directoryAaron Carlisle
Move headers files from `render/extern/` to `render/` Part of T73586
2020-11-06Cleanup: use ELEM macroCampbell Barton