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
2022-09-14Cleanup: remove redundant braces from assert & raiseCampbell Barton
autopep8 v1.7 added a space after assert & raise, remove the braces as they aren't needed.
2022-06-14Cleanup: unused argument, variable warningsCampbell Barton
2022-04-20Cleanup: run autopep8 on release/scripts/freestyleCampbell Barton
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-11-23Fix T93320: Freestyle LineStyleModifier blend 'Minimum' errorPhilipp Oeser
This was just a typo in {rBb408d8af31c9} Must be 'MINIMUM' (instead of 'MININUM'). Maniphest Tasks: T93320 Differential Revision: https://developer.blender.org/D13328
2021-07-12Fix T88015: Round end caps on Freestyle lines not shaped as documentedPhilipp Oeser
This might be an artistic choice, but round end caps are supposed to be a "half circle centered at the end point of the line" as documented here: https://docs.blender.org/manual/en/dev/render/freestyle/ parameter_editor/line_style/strokes.html#caps They are a shashed half circle instead. This patch makes this pure half circles [and also fixes the case where thickness of beginning was used for both beginning and end of the stroke] Maniphest Tasks: T88015 Differential Revision: https://developer.blender.org/D11340
2021-05-21Cleanup: spellingLeon Zandman
Includes fixes to misspelled function names. Ref D11280
2020-10-11Pydoc: Fix duplicate totree for freestyleAaron Carlisle
2020-10-02Cleanup: pep8 (indentation, spacing, long lines)Campbell Barton
2020-10-02Cleanup: pep8, blank linesCampbell Barton
2020-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
2019-12-18Fix T72289: FreeStyle python errorJeroen Bakker
Introduced by {T67981}. We changed the python API for curve evaluation. Freestyle still used the old call that failed. This patch updates FreeStyle to use the new API. I checked other areas in freestyle but it seemed to be the only `evaluate` for curves that is called directly. Reviewed By: zeddb Differential Revision: https://developer.blender.org/D6430
2019-09-09Cleanup: trailing space, remove tabs, pep8Campbell Barton
2019-01-24Fix T60625: freestyle colletion include / exclude not working.Brecht Van Lommel
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-11-05Fix various Freestyle rendering bugs.Brecht Van Lommel
2018-09-03Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/collision.c
2018-09-03Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3668
2018-04-19Remove Blender Internal and legacy viewport from Blender 2.8.Ton Roosendaal
Brecht authored this commit, but he gave me the honours to actually do it. Here it goes; Blender Internal. Bye bye, you did great! * Point density, voxel data, ocean, environment map textures were removed, as these only worked within BI rendering. Note that the ocean modifier and the Cycles point density shader node continue to work. * Dynamic paint using material shading was removed, as this only worked with BI. If we ever wanted to support this again probably it should go through the baking API. * GPU shader export through the Python API was removed. This only worked for the old BI GLSL shaders, which no longer exists. Doing something similar for Eevee would be significantly more complicated because it uses a lot of multiplass rendering and logic outside the shader, it's probably impractical. * Collada material import / export code is mostly gone, as it only worked for BI materials. We need to add Cycles / Eevee material support at some point. * The mesh noise operator was removed since it only worked with BI material texture slots. A displacement modifier can be used instead. * The delete texture paint slot operator was removed since it only worked for BI material texture slots. Could be added back with node support. * Not all legacy viewport features are supported in the new viewport, but their code was removed. If we need to bring anything back we can look at older git revisions. * There is some legacy viewport code that I could not remove yet, and some that I probably missed. * Shader node execution code was left mostly intact, even though it is not used anywhere now. We may eventually use this to replace the texture nodes with Cycles / Eevee shader nodes. * The Cycles Bake panel now includes settings for baking multires normal and displacement maps. The underlying code needs to be merged properly, and we plan to add back support for multires AO baking and add support to Cycles baking for features like vertex color, displacement, and other missing baking features. * This commit removes DNA and the Python API for BI material, lamp, world and scene settings. This breaks a lot of addons. * There is more DNA that can be removed or renamed, where Cycles or Eevee are reusing some old BI properties but the names are not really correct anymore. * Texture slots for materials, lamps and world were removed. They remain for brushes, particles and freestyle linestyles. * 'BLENDER_RENDER' remains in the COMPAT_ENGINES of UI panels. Cycles and other renderers use this to find all panels to show, minus a few panels that they have their own replacement for.
2018-04-18Workspaces: remove workspace engine, use 3D viewport draw mode instead.Brecht Van Lommel
ViewRender was removed, which means we can't get the render engine for files saved in 2.8. We assume that any files saved in 2.8 were intended to use Eevee and set the engine to that. A fix included with this is that .blend thumbails now draw with Clay mode, and never Eevee or Cycles. These were drawn with solid mode in 2.7, and should be very fast and not e.g. load heavy image textures. Differential Revision: https://developer.blender.org/D3156
2017-11-23Rename any instance of scene layer or render layer in code with view layerDalai Felinto
The RenderResult struct still has a listbase of RenderLayer, but that's ok since this is strictly for rendering. * Subversion bump (to 2.80.2) * DNA low level doversion (renames) - only for .blend created since 2.80 started Note: We can't use DNA_struct_elem_find or get file version in init_structDNA, so we are manually iterating over the array of the SDNA elements instead. Note 2: This doversion change with renames can be reverted in a few months. But so far it's required for 2.8 files created between October 2016 and now. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D2927
2017-11-22SceneRenderLayer Removal/RefactorDalai Felinto
This patch moves all the functionality previously in SceneRenderLayer to SceneLayer. If we want to rename some of these structs now would be a good time to do it, before they are in SceneLayer. Everything should be working, though I will test things further tomorrow. Once this is committed depsgraph can get rid of the workaround added in rna_Main_meshes_new_from_object and finish whatever this patch was preventing from being finished. This patch also adds a few placeholders for the overrides (samples, ...). These are obviously not working, so some unittests that rely on 'lay', and 'zmask' will fail. This patch does not addressed the change of moving samples to ViewRender (I have this as a separate patch and needs some separate discussion). Following next is the individual note of the individual parts that were committed. Note 1: It is up to Cycles to still get rid of exclude_layer internally. Note 2: Cycles still need to handle its own doversion for the use_layer_samples cases and (1) Remove the override as it is (2) Add a new override (scene.cycles.samples) if scene.cycles.use_layer_samples != IGNORE Respecting the expected behaviour when scene.cycles.use_layer_samples == BOUNDED. Note 3: Cycles still need to implement the per-object holdout (similar to how we do shadow catcher). Note 4: There are parts of the old (Blender Internal) rendering pipeline that is still using lay, e.g., in shi->lay. Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit. Reviewers: sergey, campbellbarton, brecht Differential Revision: https://developer.blender.org/D2919
2017-10-25Fix freestyle UI after workspace > engine changesDalai Felinto
2017-07-24Cleanup: trailing spaceCampbell Barton
2017-06-14PYAPI: Fix freestyle submodules without tocreesAaron Carlisle
Fixes 6 compile warnings Follow up on rBf87ca5f1c314f67353b6111d3647aef159dc07c6
2017-04-14Cleanup: triple quotes for docstringsCampbell Barton
2017-02-28Cleanup: Grey --> GrayAaron Carlisle
2017-02-16Freestyle: Feature edge selection by nested object groups.Tamito Kajiyama
A group of object groups can be formed by means of the dupli_group option in the Object properties window. The present revision extends the Selection by Group option in the Freestyle Line Set so as to support not only flat object groups but also nested groups.
2016-08-05Fix T48366: Freestyle will unnecessary exclude some linked objects.Tamito Kajiyama
Group membership testing for including/excluding feature lines was not accounting for object names possibly further qualified by library file paths. Also fixed a few potential (but unlikely) references of uninitialized variables. A big thank to Bastien Montagne for the insight on the cause of the problem and how to fix it.
2015-10-28Freestyle: Fix for 'Distance from Object' modifiers without a target object.Tamito Kajiyama
'Distance from Object' color/alpha/thickness modifiers without a target object were raising a run-time exception although it is not considered an error condition.
2015-07-23Freestyle: Fix for round/square stroke caps causing line thinning.Tamito Kajiyama
This is a regression introduced in rBce729677db3e and rBb408d8af31c9. RoundCapShader and SquareCapsShader had to remove (almost) overlapping stroke vertices to avoid sudden thinning of line thickness. For instance, the test .blend file from https://developer.blender.org/T36425#231460 suffered from the reported line thinning (although T36425 was originally caused by a different bug).
2015-07-10Freestyle: Missing __all__ symbols added in D963.Tamito Kajiyama
2015-07-10Code cleanup: White space and dead code.Tamito Kajiyama
2015-07-10Freestyle: new stroke modifiersFolkert de Vries
This patch introduces a couple new stroke modifiers. The ones currently implemented are based on prototypes by @kjym3 and myself. The new modifiers: - Tangent - Thickness noise - Crease Angle - Simplification - Curvature 3D The documentation for these new modifier types can be found [[ http://www.blender.org/manual/render/freestyle/parameter_editor/index.html | in the manual ]]: {F134441} (left: AnisotropicThicknessShader, right: NoiseThicknessShader) {F140499} (left: Curvature 3D, right: Simplification) Author: Folkert de Vries (flokkievids) Reviewers: kjym3 Subscribers: #user_interface, plasmasolutions, kjym3 Projects: #bf_blender Differential Revision: https://developer.blender.org/D963
2015-05-31Improvements to the Freestyle Python API (needed by the SVG Exporter)Tamito Kajiyama
This patch adds some new functionality to the Freestyle Python API, notably: - MaterialBP1D, checks whether the supplied arguments have the same material - Fixes a potential crash in CurvePoint.fedge (due to NULL pointer) - Makes (error handling in) boolean predicates more robust - Adds a BoundingBox type, to make working with bounding boxes easier - Adds several new functions (get_object_name, get_strokes, is_poly_clockwise, material_from_fedge) - Adds a StrokeCollector StrokeShader, that collects all the strokes from a specific call to Operators.create() - Adds hashing and rich comparison to the FrsMaterial type These new features (most of them, anyway) are needed for making a more robust SVG exporter that supports holes in fills. Reviewers: kjym3, campbellbarton Subscribers: campbellbarton Projects: #bf_blender Differential Revision: https://developer.blender.org/D1245
2015-04-16Partial fix for T44404: freestyle crashes blender.Tamito Kajiyama
Logical predicates AndUP1D and OrUP1D were instantiated even with an empty list of unary 1D predicates, causing an exception in the constructors of the logical predicate classes. This is a regression made in b408d8af31c9fba5898e353c97f95f7ce8dc19c1.
2015-04-08Freestyle: Fix for AndBP1D and OrBP1D not working due to typos.Tamito Kajiyama
Problem report by Folkert de Vries (flokkievids) through personal communications. Thanks!
2015-03-09Freestyle: Fix for references of deprecated texture stroke shaders.Folkert de Vries
Removed all references of deprecated texture shader. Also deleted several lines of dead code. Since texture_shader.py no longer does what it was supposed to do, the file itself was removed. Patch reviewed by Tamito Kajiyama (kjym3).
2015-02-27cleanup: typosCampbell Barton
2014-12-02Freestyle: Avoid quietly ignoring errors in parameter_editor.lineset_pre ↵Tamito Kajiyama
callbacks.
2014-11-25Freestyle: Py-Hooks for custom pre/post-processing line styleTamito Kajiyama
Patch D839, needed for SVG-render to be made into an addon.
2014-10-19Revert "Freestyle: Built-in SVG exporter."Campbell Barton
This reverts commit 61a330baca0ff9bb3cf477c04f539ef276a0356f. This completes reverting D785 This feature is to be reworked into an addon.
2014-10-19Revert "Fix for rB61a330baca0f: Changed SVG file encoding from UTF-16 to UTF-8."Campbell Barton
This reverts commit 490f2aeb8247463a7ea1a86a3a8c4246fcf45f23.
2014-10-19Revert "Freestyle: rename module to export_svg"Campbell Barton
This reverts commit db249b787fe0875944e00df1a3d12a58d9a07249.
2014-10-19Revert "Freestyle: add GPL headers"Campbell Barton
This reverts commit 3cbb066b838b4d52673f3fd76c2f695a3491b8b6.
2014-10-19Revert "Cleanup: pep8"Campbell Barton
This reverts commit 06cdc35a68d9a0bd2a84fd92bda2be11318d46ff.
2014-10-19Revert "Cleanup: unused import"Campbell Barton
This reverts commit fc7752b53c793a6985525d4c099108a97cd7867e.
2014-10-19Revert "Freestyle: lazy load 'export_svg'"Campbell Barton
This reverts commit c35a649a0a6c3c07bb8d56caba680887f726b9e9.
2014-10-18Freestyle: lazy load 'export_svg'Campbell Barton
Loading XML module, registering etree namespaces... etc on startup for everyone on chance someone may want to export an SVG from Freestyle is unacceptable. This shouldn't have got through the review. also disable loading when built without freestyle.
2014-10-18Cleanup: unused importCampbell Barton