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-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
2018-05-27Cycles: Add Support for IES files as textures for light strengthLukas Stockner
This patch adds support for IES files, a file format that is commonly used to store the directional intensity distribution of light sources. The new IES node is supposed to be plugged into the Strength input of the Emission node of the lamp. Since people generating IES files do not really seem to care about the standard, the parser is flexible enough to accept all test files I have tried. Some common weirdnesses are distributing values over multiple lines that should go into one line, using commas instead of spaces as delimiters and adding various useless stuff at the end of the file. The user interface of the node is similar to the script node, the user can either select an internal Text or load a file. Internally, IES files are handled similar to Image textures: They are stored in slots by the LightManager and each unique IES is assigned to one slot. The local coordinate system of the lamp is used, so that the direction of the light can be changed. For UI reasons, it's usually best to add an area light, rotate it and then change its type, since especially the point light does not immediately show its local coordinate system in the viewport. Reviewers: #cycles, dingto, sergey, brecht Reviewed By: #cycles, dingto, brecht Subscribers: OgDEV, crazyrobinhood, secundar, cardboard, pisuke, intrah, swerner, micah_denn, harvester, gottfried, disnel, campbellbarton, duarteframos, Lapineige, brecht, juicyfruit, dingto, marek, rickyblender, bliblubli, lockal, sergey Differential Revision: https://developer.blender.org/D1543
2018-05-26Cleanup: whitespace, long lines, duplicate includeCampbell Barton
2018-05-26Fix T55207, fix T55208: hair not positioned correctly after subsurf.Brecht Van Lommel
The problem was that the particle system modifier was reading ob->derivedDeform during modifier stack evaluation. Due to the mesh -> DM conversion this was no longer set leading to wrong results. In fact we don't really need the deformed mesh, just the original mesh topology for face/poly index remapping. So the solution is to use that instead.
2018-05-25Add number and memory size formatting throughout the UIDiego Gangl
This commit adds number formatting (thousands separator) to the baking panel. It also adds a new function to format memory sizes (KB/GB/etc) and applies it to the baking panel and scene stats. The new function is unit tested. Reviewers: Severin Tags: #user_interface Differential Revision: https://developer.blender.org/D1248
2018-05-25Fix T55200: dragging object into hidden collection does not hide it.Brecht Van Lommel
2018-05-25Fix T55062: crash with workspace scene relations.Brecht Van Lommel
List of relations was saved with wrong struct type.
2018-05-25Cleanup: Change remaining BKE_scene_frame_get() in constraint.c to use ↵Joshua Leung
DEG_get_ctime()
2018-05-25Outliner: optimize lookup of unused tree elements.Brecht Van Lommel
2018-05-25Fix T55165: Driving camera lens with property behaves unexpectedlyDalai Felinto
Differential Revision: https://developer.blender.org/D3438
2018-05-25Cleanup/simplification for BKE_modifier_get_evaluated_mesh_from_objectBastien Montagne
* Added BKE_object_get_evaluated_mesh, which can also be used outside of Modifier context. * BKE_modifier_get_evaluated_mesh_from_object is now a dummy wrapper around BKE_object_get_evaluated_mesh, we do not need anything special anymore for RENDER quality option, since this is supposed to be handled at depsgraph level... Maybe we can get rid of it at some point, but kind of like the idea of keeping it for now, sounds more consitent.
2018-05-25Cleanup: minor details in BKE paint code related to palettes.Bastien Montagne
* Always use BKE_id_new, unless you have a very good reason to use lower-level code! * Prefer to pass actual ID user pointer to functions like id_us_plus & co, rather than 'floating' ID pointer, when possible. It makes it more clear who is the user we increase count for!
2018-05-25Fix T55183, fix T55174: crashes with workspace / view layer relation.Brecht Van Lommel
Don't store pointers to ViewLayer in the workspace, only names. Add specific relation type since the generic mechanism makes the code hard to follow. Integrate with pointer restore for undo and library remapping code to avoid data going out of sync. Also add relation automatically if there doesn't exists one yet in BKE_workspace_view_layer_get, because in general it's really hard to ensure it will exist when making arbitrary scene changes. Differential Revision: https://developer.blender.org/D3432
2018-05-25Cleanup: styleCampbell Barton
2018-05-24Change defaultsCampbell Barton
- Vertex/Edge Slide: Correct UV's = ON - Extrude Along Normals: Even Thickness = ON - Laplacian Smooth: Lambda Factor = 1.0 - UV/Image Editor: Normalized Coordinates = ON - Render Image: Dithering = 1 - Image Sequence Auto Refresh = ON See T54943