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
2018-06-01Cleanup: whitespaceCampbell Barton
2018-06-01Modifiers: ported applying modifier from DerivedMesh → MeshSybren A. Stüvel
2018-06-01Workbench: Updated the internal light to have a bit of back lightingJeroen Bakker
2018-06-01T54991: Restore support for Motion Path drawing in 2.8Joshua Leung
This commit restores support for Motion Path drawing in 2.8 (as it wasn't ported over to the new draw engines earlier, and the existing space_view3d/drawanimviz.c code was removed during the Blender Internal removal). Notes: * Motion Paths are now implemented as an overlay (enabled by default). Therefore, you can turn all of them on/off from the "Overlays" popover * By and large, we have kept the same draw style as was used in 2.7 Further changes can happen later following further design work. * One change from 2.7 is that thicker lines are used by default (2px vs 1px) Todo's: * There are some bad-level calls introduced here (i.e. the actgroup_to_keylist() stuff). These were introduced to optimise drawing performance (by avoiding full keyframes -> keylist conversion step on each drawcall). Instead, this has been moved to the calculation step (in blenkernel). Soon, there will be some cleanups/improvements with those functions, so until then, we'll keep the bad level calls. Credits: * Clément Foucault (fclem) - Draw Engine magic + Shader Conversion/Optimisation * Joshua Leung (Aligorith) - COW fixes, UI integration, etc. Revision History: See "tmp-b28-motionpath_drawing" branch (rBa12ab5b2ef49ccacae091ccb54d72de0d63f990d)
2018-06-01Cleanup: rename varsCampbell Barton
2018-06-01Mesh: Replace DM for mesh -> curve conversionCampbell Barton
2018-06-01Mesh versions of DerivedMesh access API callsCampbell Barton
Add mesh_get_eval_final & mesh_get_eval_deform Note: these will eventually need to be renamed & moved into BKE.
2018-06-01Cleanup: quiet warning, don't set unused alphaCampbell Barton
2018-06-01Modifiers: tiny optimizations for mesh deform, lattice, kdop.Brecht Van Lommel
2018-06-01Cleanup: long linesCampbell Barton
2018-06-01Fix building for workbench in windows (BLI_INLINE)Dalai Felinto
2018-06-01Fix/Workaround T55272: Sculpt/VPaint removes meshCampbell Barton
2018-06-01Workbench: Material specific settings for the specularJeroen Bakker
- Uses the roughness setting of the basic eevee material - renamed gloss_mir to roughness - set default of roughness to 0.25 - renamed ray_mirror to metallic - cleaned up material rna (BI mirror struct) - use BLINN phong model - normalize incoming/outgoing specular light - when using camera oriented studiolight, the SolidLight will be used for specular highlights - EXPERIMENT: when in world oriented studiolight only the shadow direction will be used. - change the settings of the internal light to make scenes more readable
2018-05-31Depsgraph: Remove unused flagsSergey Sharybin
They are no longer needed after the active depsgraph concept is here.
2018-05-31Depsgraph: Copy evaluated data to original datablockSergey Sharybin
Only do it for active dependency graph. Currently covers animation, drivers, object and pose channel matricies.
2018-05-31Depsgraph: Consider depsgraphs used by workspace as activeSergey Sharybin
Will cause some bad behavior when object is shared across multiple visible view layers with different overrides. Accept it for now, and possibly force single view layer later.
2018-05-31Animation: Pass dependency graph to animation systemSergey Sharybin
This way we allow animation system to make decisions based on which context dependency graph is coming from, and whether it belongs to an active edit window or not.
2018-05-31Sequencer: Make dependency graph part of sequencer contextSergey Sharybin
Currently unused, but will be needed soon to deal with active edit window context.
2018-05-31Cleanup: warningCampbell Barton
2018-05-31Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/object/object_add.c source/blender/editors/object/object_select.c source/blender/editors/space_outliner/outliner_edit.c
2018-05-31Cleanup: get rid of last G.main usages in BKE library code.Bastien Montagne
2018-05-31Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: intern/cycles/blender/blender_curves.cpp source/blender/blenkernel/BKE_particle.h source/blender/blenkernel/intern/modifier.c source/blender/blenkernel/intern/object_update.c source/blender/blenkernel/intern/particle_system.c source/blender/editors/object/object_modifier.c source/blender/editors/physics/physics_fluid.c source/blender/makesrna/intern/rna_particle.c source/blender/modifiers/intern/MOD_particlesystem.c
2018-05-31Cleanup: remove G.main from BKE modifier.Bastien Montagne
2018-05-31Depsgraph: Remove the "disable-copy-on-write" option completelyJoshua Leung
After discussion with Sergey and Dalai, we have decided to remove this option completely. We're getting to the point where it is almost impossible to really use 2.8 without COW, and keeping the old option running ends up diverting dev resources away towards tracking down and fixing problems with a parallel system that will be going away.
2018-05-31Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_camera.h source/blender/blenkernel/BKE_dynamicpaint.h source/blender/blenkernel/BKE_object.h source/blender/blenkernel/intern/camera.c source/blender/blenkernel/intern/dynamicpaint.c source/blender/blenkernel/intern/object.c source/blender/blenkernel/intern/smoke.c source/blender/editors/object/object_transform.c source/blender/editors/physics/dynamicpaint_ops.c source/blender/editors/space_view3d/view3d_edit.c source/blender/editors/space_view3d/view3d_view.c source/blender/modifiers/intern/MOD_dynamicpaint.c source/blenderplayer/bad_level_call_stubs/stubs.c
2018-05-31Cleanup: remove G.main from BKE objectBastien Montagne
Had to add some G.main to modifiers, but in 2.8 we do not need that anymore, so it's not that bad! ;)
2018-05-31Cleanup: Reduce indentation levelSergey Sharybin
2018-05-31Merge branch 'master' into blender2.8Bastien Montagne
2018-05-31Cleanup: nuke G.main out of BKE PackedFile code.Bastien Montagne
2018-05-31Depsgraph: optimization of driver evaluation with many drivers.Brecht Van Lommel
2018-05-30Cleanup: style/whitespaceCampbell Barton
Also use 'uint'.
2018-05-30Fix Cycles viewport render stuck with curve objects.Brecht Van Lommel
We should solve this better by making the depsgraph convert all curves to meshes, for now ensure we don't to depsgraph tags during export.
2018-05-30Render API: rename some API functions back to earlier names.Brecht Van Lommel
Their purpose is the same, no reason to break API compatibility here.
2018-05-30Modifiers: Make input of modifier stack referencing copied CD layersSergey Sharybin
The idea is to allow modifier stack to reference custom data layers from copied version of mesh datablock.
2018-05-30Cleanup: whitespaceCampbell Barton
2018-05-30ID copy: Add flag which allows custom data to reference original datablockSergey Sharybin
2018-05-30Workbench: Specular HighlightsJeroen Bakker
Added specular highlights for: - Solid studio shading - Texture studio shading
2018-05-30Modifier stack: Avoid roundtrip from mesh to DM back to meshSergey Sharybin
Saves quite a bit of CPU ticks per mesh update, giving measurable speedup for file from T55228. Memory usage goes up a it, most likely due to evaluated mesh having more custom data layers than corresponding DM does.
2018-05-30Fix missing Cycles 3D viewport updates when editing materials, lamps.Brecht Van Lommel
This introduces a new depsgraph API for getting updated datablocks, rather than getting it from bpy.data. * depsgraph.ids_updated gives a list of all datablocks in the depsgraph which have been updated. * depsgraph.id_type_updated('TYPE') is true if any datablock of the given type has been added, removed or modified. More API updates are coming to properly handle multiple depsgraphs and finer update granularity, but this should make Cycles work again.
2018-05-30Hair Particles: DNA: Add properties for new GPU hairs.Clément Foucault
Hair Particles shape properties are ported from cycles. Thoses properties have the same defaults and have a do_version of their own. Cycles will use theses properties instead of its custom ones. Some realtime engine specific settings are also added to scene->r because it's much easier to control as global values. Bumping Version number so cycles can do its own do_version on top of the default settings.
2018-05-30Cleanup/fix wrong modifiers targets handling in COW context.Bastien Montagne
Modifiers stack only get COW/evaluated IDs, so no need to go auery again DEG for those. Further more, now unified handling of EditBMesh case (was done on case-by-case basis in a few modifiers, not all for some reason). We are still missing the ability to get final and cage deformed meshes when in Edit mode though, this is to be defined/implemented in depsgraph.
2018-05-30Add deformed evaluated mesh to objectSergey Sharybin
This is a first step to have correspondence of legacy derivedDeform within a new formulation. Only base ground for now to support file reading, copy-on-write remapping and such.
2018-05-30Cleanup: Wrap object runtime eval members into own structSergey Sharybin
2018-05-30BKE_object: Add BKE_object_data_is_in_editmodeCampbell Barton
2018-05-30Cleanup: use 'e' prefix for enum typesCampbell Barton
2018-05-30Cleanup: Naming, match policy with rest of copy-on-write designSergey Sharybin
2018-05-30Cleanup: More typed allocation type enum usageSergey Sharybin
Majority of the code is EOL, but still handy for debug purposes.
2018-05-30Cleanup: Use typed allocation type enum in custom data APISergey Sharybin
2018-05-29Fix last commit.Germano
2018-05-29Fix T55223: Crash when changing lattice resolution.Germano