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-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-30Use enum for custom data allocation typeSergey Sharybin
Allows to easily see human readable value in debugger.
2018-05-29Fix last commit.Germano
2018-05-29Fix T55223: Crash when changing lattice resolution.Germano
2018-05-29EEVEE: LookDev blurred backgroundJeroen Bakker
2018-05-29CleanupDalai Felinto
2018-05-29Use the correct time to evaluate object in BKE_object_where_is_calc functionsDalai Felinto
2018-05-29Use correct time for curve parent evaluationDalai Felinto
Time should alwaus come from depsgraph, not scene.
2018-05-29StudioLight: Calculate Specular irradianceJeroen Bakker
2018-05-29Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_material.h source/blender/blenkernel/BKE_mesh.h source/blender/blenkernel/intern/library_remap.c source/blender/blenkernel/intern/material.c source/blender/editors/object/object_relations.c source/blender/editors/render/render_preview.c source/blender/makesrna/intern/rna_object.c
2018-05-29Cleanup: Get rid of G.main in BKE_material.Bastien Montagne
Note that in some cases, this only moves the G.main case to somne other places - in particular, RNA getters/setters are becoming annoying here...
2018-05-29Object Modes: disable mode switching on selectionCampbell Barton
See T55246
2018-05-29Fix T55244: Parenting object(s) to curve crashes blenderDalai Felinto
There is a chance parts of Blender call BKE_object_workob_calc_parent with ob->parent objects that are outside the depsgraph. This we can tackle later since these are corner cases anyways, and this fix fixes all parenting operators in Blender.
2018-05-29Object Modes: only use selection for mode switchCampbell Barton
Selection is no longer needed for an object to be considered in a mode. Part of T55246 design task, fixes T55187
2018-05-29UI: Expand space sub-types into the menuCampbell Barton
Initial support for expanding editors, see: T54744
2018-05-29Fix T55203: Particle hair weights are not preservedSergey Sharybin
2018-05-29Fix T55204: proxy object disappearing randomly.Brecht Van Lommel
The problem was a missing depsgraph relation between the transforms of the object and its proxy, it was only there for the pose.
2018-05-28Merge remote-tracking branch 'origin/master' into blender2.8Ray Molenkamp
2018-05-28Windows: Add support for building with clang.Ray Molenkamp
This commit contains the minimum to make clang build/work with blender, asan and ninja build support is forthcoming Things to note: 1) Builds and runs, and is able to pass all tests (except for the freestyle_stroke_material.blend test which was broken at that time for all platforms by the looks of it) 2) It's slightly faster than msvc when using cycles. (time in seconds, on an i7-3370) victor_cpu msvc:3099.51 clang:2796.43 pavillon_barcelona_cpu msvc:1872.05 clang:1827.72 koro_cpu msvc:1097.58 clang:1006.51 fishy_cat_cpu msvc:815.37 clang:722.2 classroom_cpu msvc:1705.39 clang:1575.43 bmw27_cpu msvc:552.38 clang:561.53 barbershop_interior_cpu msvc:2134.93 clang:1922.33 3) clang on windows uses a drop in replacement for the Microsoft cl.exe (takes some of the Microsoft parameters, but not all, and takes some of the clang parameters but not all) and uses ms headers + libraries + linker, so you still need visual studio installed and will use our existing vc14 svn libs. 4) X64 only currently, X86 builds but crashes on startup. 5) Tested with llvm/clang 6.0.0 6) Requires visual studio integration, available at https://github.com/LazyDodo/llvm-vs2017-integration 7) The Microsoft compiler spawns a few copies of cl in parallel to get faster build times, clang doesn't, so the build time is 3-4x slower than with msvc. 8) No openmp support yet. Have not looked at this much, the binary distribution of clang doesn't seem to include it on windows. 9) No ASAN support yet, some of the sanitizers can be made to work, but it was decided to leave support out of this commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3304
2018-05-28Depsgraph: preserve memory caches for particles when creating Copy-on-WriteSergey Sharybin
Solves issue with particle memory cache ignored. Thanks Bastien for review!
2018-05-28Fix T55226: outliner glitch with item open/close, after recent optimization.Brecht Van Lommel
2018-05-28EEvEE: LookDevJeroen Bakker
2018-05-27Merge branch 'master' into blender2.8Campbell Barton
2018-05-27Recently added IES conflicts w/ EEVEECampbell Barton