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
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-02-10Tracking: Fix usage PLACEHOLDER functionSergey Sharybin
Don't use BKE_view_layer_context_active_PLACEHOLDER which is marked as "never use this". In fact, it isn't needed to lookup for camera in the tracking function at all: camera object is always explicitly passed to it.
2020-02-07CodeCleanup: WorkbenchJeroen Bakker
Code was already hidden by a compile directive.
2020-02-06Cleanup: refactor default materials and shader nodesBrecht Van Lommel
2020-02-05Merge branch 'blender-v2.82-release'Clément Foucault
2020-02-05Fix T73127 EEVEE: Reflection plane not visible in lookdev without scene worldClément Foucault
2020-02-05Fix T73517 Overlay: Edit Mode: X-Ray does not work if xray is equal to 1Clément Foucault
2020-02-05Fix T70121 EEVEE/GPencil: Curves cause crash when using background renderingClément Foucault
This was caused by a faulty initialization of cache->surf_per_mat which should have been empty.
2020-02-05T73589: Code Quality: Renaming on BKE_material.hAntonio Vazquez
Old Name New Name ========= ========= init_def_material BKE_materials_init BKE_material_gpencil_default_free BKE_materials_exit test_object_materials BKE_object_materials_test test_all_objects_materials BKE_objects_materials_test_all give_matarar BKE_object_material_array give_totcolp BKE_object_material_num give_current_material_p BKE_object_material_get_p give_current_material BKE_object_material_get assign_material BKE_object_material_assign assign_matarar BKE_object_material_array_assign give_matarar_id BKE_id_material_array give_totcolp_id BKE_id_material_num assign_material_id BKE_id_material_assign clear_matcopybuf BKE_material_copybuf_clear free_matcopybuf BKE_material_copybuf_free copy_matcopybuf BKE_material_copybuf_copy paste_matcopybuf BKE_material_copybuf_paste BKE_material_init_gpencil_settings BKE_gpencil_material_attr_init BKE_material_add_gpencil BKE_gpencil_material_add BKE_material_gpencil_get BKE_gpencil_material BKE_material_gpencil_default_get BKE_gpencil_material_default BKE_material_gpencil_settings_get BKE_gpencil_material_settings
2020-02-04Merge branch 'blender-v2.82-release'Julian Eisel
2020-02-04Fix T61685 Curve extrusion looses flat shading in certain viewport shadingClément Foucault
This was caused by default surface batch not using loop normals.
2020-02-04Fix T72155 Overlay: Bone X-ray no longer works in pose or weight paint modeClément Foucault
2020-02-04Fix T72504 EEVEE: Crash when rendering Instance Collection with hairClément Foucault
This was caused by a double free of the instance data. Remove the need of the instance data fix the issue.
2020-02-04Selection: Add conservative rasterization to select really small objectsClément Foucault
The conservative depth shader is ~4.5x slower than the normal one as it uses geometry shader and fragment shader discard. This patch also includes a hack to also fix the view parallel planar geometry and the really small wire objects. For some reason, the conservative raster fix does not work with normal selection but does with box select. This is a fix for T63356. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D6714
2020-02-04Merge branch 'blender-v2.82-release'Campbell Barton
2020-02-04Fix T73095: Edit Mode Overlay Linked MeshJeroen Bakker
When using duplicate linked meshes, objects that are not in edit-mode will be drawn as it is in edit mode, when another object with the same mesh is in edit mode. This will not be the case when one of the objects are influenced by modifiers. The change reflects more how it was done in Blender 2.79. The current change introduces a draw manager method that checks in detail who is responsible for the drawing (render engine or overlay engine). If the edit mesh is not the original or the object that is drawn doesn't draw the original mesh the object will be drawn by the render engine. Known Limitation of this patch is that the rendering outside edit mode doesn't reflect the latest changes until the user switches between object and edit mode. When there are no modifiers in use, the updating is done immediately. IMO this would be sufficient for blender 2.82, it also fixes parts of T72733. The updating of the surface batches requires more development and is post-poned for now. Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D6737
2020-02-04Merge branch 'blender-v2.82-release'Aaron Carlisle
2020-02-03Fix T72261 Overlay: Edit Mesh: Edges not visible when using "In front"Clément Foucault
This was caused by additional depth pass not rendering in the correct view.
2020-02-03Overlay: Armature: Fix Display armature as bound box in object modeClément Foucault
2020-02-03Merge branch 'blender-v2.82-release'Sergey Sharybin
2020-02-03Overlay: Armature: Fix wireframe display type not working as 2.81Clément Foucault
2020-02-03Overlay: Armature: Improve bone outline z-bias in orthographic modeClément Foucault
The bias was too big and cause interpenetration on geometry that was in front of bones.
2020-02-03Fix T65114 Overlay: Armature: Bones with negative scale have wrong displayClément Foucault
This moves the backface culling to the fragment shader to avoid all the limitations of the current system. This has a cost but it is unlikely that bone drawing will be a bottleneck.
2020-01-31Merge branch 'blender-v2.82-release'Brecht Van Lommel
2020-01-31Displist: Add mikktspace tangent space generation for DL_SURFClément Foucault
This should match mesh tangents form surfaces converted to mesh.
2020-01-30Merge branch 'blender-v2.82-release'Sergey Sharybin
2020-01-30EEVEE: Test maximum texture size before render.Clément Foucault
This will catch any non renderable size.
2020-01-30Merge branch 'blender-v2.82-release'Campbell Barton
2020-01-30Displist: Add mikktspace tangent space generation for DL_INDEX3Clément Foucault
This now matches the Mesh behavior. Surfaces and metaball implementation are yet to be implemented.
2020-01-30Merge branch 'blender-v2.82-release'Campbell Barton
2020-01-30DRW: Add support for tangent on objects using display lists.Clément Foucault
Only Metaballs are left unsupported. However, the implementation does not match 100% with cycles which converts all objects to meshes. Fixes T63424 EEVEE: Normal map node doesn't works with curve objects
2020-01-30Merge remote-tracking branch 'origin/blender-v2.82-release'Ray Molenkamp
2020-01-30Fix crash when adding modifiers to curve/surface/text objectsClément Foucault
2020-01-29Merge branch 'blender-v2.82-release'Philipp Oeser
Merge conflict in source/blender/gpu/GPU_texture.h
2020-01-29Fix T73188: RenderResult as Camera BG ImageJeroen Bakker
In blender 2.79 you could use a render result as a camera background image. This is useful during layout/compositing. During Blender 2.80 development there were 2 issues introduced that removed this feature. * to receive a render result the image required a lock. This lock wasn't passed and therefore no image was read from the result. Generating an GPUTexture from an Blender image also didn't do the locking. * the iuser->scene field wasn't set what is required for render results. This change adds an optional `ibuf` parameter to `GPU_texture_from_blender` that can be passed when available. Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D6684
2020-01-29Merge branch 'blender-v2.82-release'Campbell Barton
2020-01-29EEVEE: Micro optimize disk lightClément Foucault
Try to never do operation twice and try to use MADD operations. Even if this is very unlikely to make any difference, it can help compilers do some optimization. I did not measure any difference as probes have much higher impact on render time because of texture lookups. Note that disk light is currently the most expensive light type so it does not hurt to micro optimize.
2020-01-29Fix T67060 EEVEE: Noise caused by disk lightsClément Foucault
This is an issue on some drivers that might output NaN out of sqrt if the number is infinity.
2020-01-28Merge branch 'blender-v2.82-release'Brecht Van Lommel
2020-01-28Fix T62730 Overlay: Selected edit hair points highlight is incorrectClément Foucault
This was due to the fact the drawing code was expecting the editpoints to be equaly spaced. Reuse the code in particle.c to output the select mask in red color channel of the particle (which is unused in new code).
2020-01-28Merge remote-tracking branch 'origin/blender-v2.82-release'Sybren A. Stüvel
2020-01-28Fix T72593 Blender crashes when modifier change the material countClément Foucault
Instead of changing the modifiers behavior, we make sure to always use the data->totcol instead of the ob->totcol. Also we centralize getting this number to avoid future issues. Fix T72593 Blender crashes when separating mesh Fix T72017 Crash on set visibility change
2020-01-28Merge branch 'blender-v2.82-release'Campbell Barton
2020-01-27Fix T69070 EEVEE: Volume shader glitch if object as axis with 0.0 scaleClément Foucault
2020-01-27Fix T72862: Viewport Render doesn't render Grease Pencil OverlaysAntonio Vazquez
Fix by @campbellbarton Note: Duplicated commit done in master first by error
2020-01-27Fix T72862: Viewport Render doesn't render Grease Pencil Overlays, ShadingAntonio Vazquez
Fix by @campbellbarton
2020-01-24Merge branch 'blender-v2.82-release'Antonio Vazquez
2020-01-23Fix T69121 DRW: Missing depth buffer refresh with GPencil + CyclesClément Foucault
I just cleaned up the logic and checked for GPencil objects in the scene.
2020-01-23Merge branch 'blender-v2.82-release'Antonio Vazquez
2020-01-23Fix T67050 Overlay: Forcefield limits are not dashedClément Foucault
This adds some kind of dashing to the tube and cone limits. Although the dashing is in object space and is not a good as old dashing. But it is the least time consuming and least complex solution.