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-02Collections: Initial support for animating/driving collection properties ↵tmp-CollectionsAnimJoshua Leung
(T55233) (Just committing this now to a temp branch so that I can continue working on this from another machine later. This is a re-based+squashed, re-pushed version of what I just pushed earlier, but now based on current 2.8 code, not from several days ago) Rationale: The Spring team needs a way to hide objects from the viewport, so that parts of the rig can be enabled/disabled per shot. An example of this is how the cornea meshes are typically hidden from the viewport so that the animators can see the irises, and hence, where the character is looking. (Another reason we may want this in future is to make it so that a bunch of objects/rigs can be keyframed together in the same action, making it easier to manage their actions) Status: * Currently all necessary data and animation editor support changes should be in place and working. Hopefully I haven't missed any - the checklist may need updating for 2.8 * Depsgraph support however is still incomplete. We still need to figure out what needs to happen with the animated values to make objects actually appear/disappear when triggered via the animation system, just like they do now from the UIwip
2018-06-02Cleanup: quiet warnings w/o PythonCampbell Barton
2018-06-01Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/io/io_collada.c source/blender/editors/object/object_bake.c source/blender/editors/object/object_edit.c source/blender/editors/render/render_internal.c source/blender/makesrna/intern/rna_object_api.c source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-01X-Ray: Added a slider for the alphaJeroen Bakker
- will not render when set to 0.0 for speed reasons. so when user sets transparency to hide everything the bigger passes will be skipped.
2018-06-01UI: use same "Viewport Display" name for scene/object/material panels.Brecht Van Lommel
2018-06-01Cleanup: some more G.main removal from editor code.Bastien Montagne
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-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-06-013D View: make text overlay optionalCampbell Barton
2018-05-31UI: new tool properties space typeCampbell Barton
This currently shows panels that were in the 2.79 3D view toolbar which are now popovers. In some cases it's useful for these to stay open. This commit adds a space type to do this. Note this is currently empty in object mode.
2018-05-31Add Asan support for clang on windows.Ray Molenkamp
This will currently only work for the RelWithDebInfo configuration since asan does not support the debug crt. for source line information in the reports, you need a copy of llvm-symbolizer in the blender folder or set the ASAN_SYMBOLIZER_PATH environment variable to point to it. Currently (as of 6.0.0) llvm-symbolizer does not ship with the binary clang/llvm distribution. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3446
2018-05-31Overlay: Add Wireframe overlay.Clément Foucault
This overlay is showing mesh topology. It is usable with transparency even if the mesh order can mess up with the expected result (some object more prominent than others). Edge thickness and alpha values are hardcoded for now but can easily be added to theme or object settings.
2018-05-31Cleanup: Remove G.main from some editor files.Bastien Montagne
2018-05-31UI: fix own error switching fake space typesCampbell Barton
2018-05-31UI: hide user preferences from space menuCampbell Barton
See T54744
2018-05-31Cleanup: remove G.main from BKE mball code.Bastien Montagne
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-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-31Merge branch 'master' into blender2.8Bastien Montagne
2018-05-31Cleanup: nuke G.main out of BKE PackedFile code.Bastien Montagne
2018-05-30RNA: add tool index accessCampbell Barton
Needed for changing the active tool from Python.
2018-05-30Removed Object color from workbench. Added Highlights to FLAT shading.Jeroen Bakker
2018-05-30Cleanup: style/whitespaceCampbell Barton
Also use 'uint'.
2018-05-30Depsgraph API: renaming, more granular update information.Brecht Van Lommel
* depsgraph.ids: all evaluated datablocks in the depsgraph * depsgraph.objects: all evaluated objects in the depsgraph * depsgraph.object_instances: all object instances to display or render * depsgraph.updates: list of updates to datablocks
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-30Cleanup: RNA naming, use highlight as suffuxCampbell Barton
This is whats done already elsewhere.
2018-05-30Workbench: Specular HighlightsJeroen Bakker
Added specular highlights for: - Solid studio shading - Texture studio shading
2018-05-30Fix T55256: Animation Noise modifier does not update on value changeJoshua Leung
Animation needs tagging in depsgraph (for animation refresh), instead of only tagging AnimData->recalc
2018-05-30Fix: Toggling "mute" toggle in animation editors didn't work with copy-on-writeJoshua Leung
Tested on Autumn run cycle by muting master bone animation - when working, the dog should run forwards when the master bone animation is being muted.
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-30Keymap: group paint modes, reorder enumCampbell Barton
Menu now matches the keymap.
2018-05-30Cleanup: remove '.'Campbell Barton
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-29EEVEE: LookDev reversed the background fadeoutJeroen 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-29UI: Expand space sub-types into the menuCampbell Barton
Initial support for expanding editors, see: T54744
2018-05-29Cleanup: use same 'depsgraph' name everywhere outside of DEG space.Bastien Montagne
'graph' is waaaayyyyy too generic name outside of DEG context, and better try to use same name everywhere!
2018-05-29EEVEE: LookDev fade out background optionJeroen Bakker
2018-05-29EEVEE: LookDev use_scene_light draw optionJeroen Bakker
Scene lights are rendered when - v3d is not available - or shading type is other then OB_MATERIAL - or shading type is OB_MATERIAL and use_scene_light is true
2018-05-29EEVEE: LookDev overlays enablingJeroen Bakker
The mirror ball and diffuse ball are only rendered when overlays are turned on and the lookdev overlay is turned on.
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-28Rename EEVEE visibility group > collectionDalai Felinto
I think we should rename the DNA as well, and break the 0.01 files using this feature. But I will leave this decision to Clement.
2018-05-28Fix T55231: Setting bone.select from RNA didn't tag for copy on writeJoshua Leung
This was causing problems with addons such as the Selection Sets addon used in studio by the animators.
2018-05-28RNA: re-enable property notifiersCampbell Barton
While these will be removed eventually, it makes tracking down COW buts a hassle.