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-04-05Merge branch 'master' into blender2.8Sybren A. Stüvel
2018-04-05Load metadata from video files and expose via RNASybren A. Stüvel
The MovieSequence and MovieClip classes now have a metadata() function that exposes the `IDProperty *` holding the video metadata. Part of: https://developer.blender.org/D2273 Reviewed by: @campbellbarton
2018-04-05Write the scene render frame range to image/video filesSybren A. Stüvel
This is useful to create a mapping from the frame range in the video to frame index in the blend file. Part of: https://developer.blender.org/D2273 Reviewed by: @campbellbarton
2018-04-05Write StampData metadata to video filesSybren A. Stüvel
This is currently only supported by FFmpeg (so not frameserver, AVI RAW, or AVI JPEG), and only seems to work when using Matroska or Ogg Theora containers. Only metadata that doesn't change from frame to frame is written to video files. This distinction is visible in the UI by looking at the stamp checkbox tooltips (they either mention "image" or "image/video"). Part of: https://developer.blender.org/D2273 Reviewed by: @campbellbarton
2018-04-05IMB_metadata improvementsSybren A. Stüvel
- Metadata handling is now separate from `ImBuf *`, allowing it to be used with a generic `IDProperty *`. - Merged `IMB_metadata_add_field()` and `IMB_metadata_change_field()` into a more robust `IMB_metadata_set_field()`. This new function doesn't return any status (it now always succeeds, and the previously existing return value was never checked anyway). - Removed `IMB_metadata_del_field()` as it was never actually used anywhere. - Use `IMB_metadata_ensure()` instead of having `IMB_metadata_set_field()` create the containing `IDProperty` for you. - Deduplicated function declarations, moved `intern/IMB_metadata.h` out of `intern/`. Note that this does mean that we have some extra `#include "IMB_metadata.h"` lines now, as the metadata functions are no longer declared in `IMB_imbuf.h`. - Deduplicated function declarations, all metadata-related declarations are now in imbuf/IMB_metadata.h. Part of: https://developer.blender.org/D2273 Reviewed by: @campbellbarton
2018-04-05BLI_string: macros that de-duplicate sizeof argCampbell Barton
2018-04-05Merge branch 'master' into blender2.8Campbell Barton
2018-04-05UI: Node Editor: Make nodelink arrow size and link width dpi dependant.Clément Foucault
2018-04-05UI: Node Editor: Batch nodelinks together.Clément Foucault
This will do only one drawcall for every 256 nodelinks.
2018-04-05UI: Node Editor: Port nodelink drawing to shader based drawing.Clément Foucault
Use the new GPU_SHADER_2D_NODELINK and GPU_SHADER_2D_NODELINK_INST to accelerate nodelink drawing. This commit does not include the batching functionnality. So this should not make a lot of difference.
2018-04-05GWN: Add GWN_batch_uniform_2fv_array.Clément Foucault
2018-04-05GPUBatch: Change preset managment system.Clément Foucault
Now use a list of preset batches with a function to add new ones to this list. This removes the need of new functions all over the place to reset/exit.
2018-04-05GPUShader: Add 2D Nodelink shader.Clément Foucault
Special shader to draw nodelinks for the node editor. We only pass bezier points to the GPU and vertex position is handled inside the vertex shader. The arrow is also part of the batch to avoid separate drawcalls for it. We still draw 2 pass one for shadow and one for the link color on top. One variation to draw instances of theses links so that we only do one drawcall.
2018-04-05Undo: split text undo steps out of the data-blockCampbell Barton
This moves undo storage into a separate struct which is passed in from the undo system.
2018-04-05Undo System: return undo step from undo push initCampbell Barton
Also improve logging
2018-04-05Logging: use -1 log level to log all levelsCampbell Barton
2018-04-05ED_undo: use loggingCampbell Barton
2018-04-05Fix crash w/ empty text undo operationsCampbell Barton
2018-04-04Fix Cycles motion blur and engine.frame_set() not working.Brecht Van Lommel
2018-04-04Depsgraph: Fix/workaround crash with animation and drivers and CoWSergey Sharybin
The issue was caused by component tag forcing CoW component to be run, without actually flushing changes down the road from the CoW operation. In a way, this is what we want: we do want CoW to run on changes, but we don't want tiny change forcing full datablock update. This commit makes it so order of updates is all correct, but the bigger issue is still open: what parts of datablock CoW should be updating? Now it's possible to open spring file and play around.
2018-04-04Gawain: Make removing batches more thread safeSergey Sharybin
The issue was mainly visible when copy-on-write was enabled. This was forcing lots of meshes to be freed from multiple thread, causing all sorts of race conditions in Gawain's VAO code. OpenGL resources seems already to be doing deferred deletion, need to do the same for CPU side arrays.
2018-04-04Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_object.h
2018-04-04Fix modifier freeing code re. ID refcounting.Bastien Montagne
Free code should not handle ID refcounting at all. This has to be done at higher level, since in some case we want to free (temp) data that actually did not refcount at all its IDs. This change seems to be working OK, but as usual in that area, only lots of testing in real-case situation will say whether there are some hidden bugs or not.
2018-04-04Fix Cycles particle info node not working.Brecht Van Lommel
2018-04-04Depsgraph: Cleanup, reduce indentation levelSergey Sharybin
2018-04-04Merge branch 'master' into blender2.8Sergey Sharybin
2018-04-04Depsgraph: Make sure textures used by modifiers are in the graphSergey Sharybin
2018-04-04Proper fix for T54337Mai Lavelle
Accidentally checked the wrong variable in fa01a1738bd1e3a6750ff.
2018-04-04Fix undefined workspace in UI scriptSergey Sharybin
2018-04-04Fix Eevee crash with generated coordinates on non-objects.Brecht Van Lommel
2018-04-04Cleanup: simplify fix for T53497, this part is not strictly needed.Brecht Van Lommel
2018-04-04Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenloader/intern/readfile.c
2018-04-04Tweak ID->tag reset on file load (no visible change expected!).Bastien Montagne
Issue was, *some* IDs (like infamous nodetrees from materials etc.) would not go through the 'main' read_libblock() func, so their tags were never reset. So now, we ensure direct_link_id() always clear the tags, and move setting them in read_libblock() after the call to direct_link_id(). Needed for depsgraph, but general healthier fix actually.
2018-04-04Depsgraph: Get pchan index from correct poseSergey Sharybin
This code should be replaced with evaluation-time ID block expansion, but before that it will be helpful to get old design to work again.
2018-04-04Merge branch 'master' into blender2.8Sergey Sharybin
2018-04-04Depsgraph: Ensure root pchan is always foundSergey Sharybin
2018-04-04Depsgraph: Pass CoW version of object to armature update doneSergey Sharybin
2018-04-04Fix part of T53497: Eevee stuttering on macOS for the first few seconds of ↵Brecht Van Lommel
usage. The problem was that textures were assigned to different slots on different draw calls, which caused shader specialization/patching by the driver. So the shader would be compiled over and over until all possible assignments were used.
2018-04-04Fix missing hair in fishycat and everything else after particle recalc changesMai Lavelle
The cache was getting reset always, due to special case of flag being 0. Bug introduced by: 44cd24a9cee9ffb14b5d26a622f
2018-04-04Merge branch 'master' into blender2.8Sergey Sharybin
2018-04-04Depsgraph: Assert that pchan index is always validSergey Sharybin
2018-04-04Merge branch 'master' into blender2.8Sergey Sharybin
2018-04-04Depsgraph: Add missing expansion od custom bone shapesSergey Sharybin
This was fixed in 2.8 branch but not in master.
2018-04-04Merge branch 'master' into blender2.8Sergey Sharybin
2018-04-04Depsgraph: Only bind ID-data and indices to depsgraph callbacksSergey Sharybin
This is a part of copy-on-write sanitization, to avoid all the checks which were attempting to keep sub-data pointers intact. Point is: ID pointers never change for CoW datablocks, but nested data pointers might change when updating existing copy. Solution: Only bind ID data pointers and index of sub-data. This will make CoW datablock 7update function was easier in 2.8. In master we were only using pose channel pointers in callbacks, this is exactly what this commit addresses. A linear lookup array is created on pose evaluation init and is thrown away afterwards. One thing we might consider doing is to keep indexed array of poses, similar to chanhash. Reviewers: campbellbarton Reviewed By: campbellbarton Subscribers: dfelinto Differential Revision: https://developer.blender.org/D3124
2018-04-04Fix T54337: Cycles crash with simple subd object in debug buildMai Lavelle
2018-04-04Fix T54400: Some GCN 1 cards available to select for use with CyclesMai Lavelle
Hainan was missing from the list of GCN 1 cards.
2018-04-03BMesh: remove redundant loop in select-next-activeCampbell Barton
Thanks to @nBurn for spotting
2018-04-03Missed in last mergeCampbell Barton
2018-04-03Missed in last mergeCampbell Barton