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
path: root/source
AgeCommit message (Collapse)Author
2018-04-12Fix second issue introduced in refactoring/cleanup of weighted normals.soc-2017-normal-toolsBastien Montagne
'degenerated too short normals' check was probably a bit too aggressive, moved it back to more common 1e-6 value.
2018-04-11Fix weighted normals modifier sometimes affecting actual mesh.Bastien Montagne
Same issue & same fix as with edit normals modifier some times ago...
2018-04-11Merge branch 'master' into soc-2017-normal-toolsBastien Montagne
2018-04-11Changed assertion of '..' in file browser entriesSybren A. Stüvel
The previous assert assumed '..' is always there, which isn't necessarily true (for example when in the root of an Asset Engine repository). The new code asserts that if '..' is present it should be the first entry (rather than forcing the first entry to be '..').
2018-04-11fix T54549: Vector Transform node in wrong nodeclassPhilipp Oeser
the Vector Transform node was added to the "Vector" category in nodeitems_builtins.py but was using the "NODE_CLASS_CONVERTOR" internally (thus using e.g. the 'wrong' theme color) thanx @dingto for review Differential Revision: https://developer.blender.org/D3138
2018-04-11Pose Mode: pass object to mode enter/exitCampbell Barton
Also add lower level mode exit function
2018-04-11Cleanup: minor changes to pose-mode switching APICampbell Barton
Prepare for multi-object pose mode
2018-04-10Cleanup: remove unused flagCampbell Barton
2018-04-10Fix transform nearest axis checkCampbell Barton
Was mixing up global/local coords
2018-04-10Depsgraph: Build relations for objects linked via pchan constraintsSergey Sharybin
This is similar to previous fix for missing ID nodes, just the original fix missed this part of change because it looked like it is already happening.
2018-04-10Fix T54423: Messages from RNA_property_editable_info() were not translatable.Bastien Montagne
2018-04-10Depsgraph: Flush debug printsSergey Sharybin
Makes it more reliable to see what was updating last when crash happens.
2018-04-10Fix crash in graph editor id remappingMai Lavelle
Dopsheet pointer isn't set...?
2018-04-09Fix invalid context when refreshing popupsJulian Eisel
Patch D2759 by @raa, with minor edits by me.
2018-04-09UI: Clamp scrollbar offset to lower view boundariesJulian Eisel
Fixes the "emtpy scrolling" glitch by clamping the scroller offset to the boundary of the view when it's smaller than the previous. Fixes T45197. Patch by @januz. Differential Revision: D1580
2018-04-09Use the newer version of the bullet 6dof spring constraint for rigidbody.Alexander Gavrilov
The new constraint is slower and not backward compatible, but should be better, especially in the damping side. The new constraint also has a different valid range of the damping coefficient, and a limit implementation that bounces instead of making the object stationary. Reviewers: sergof Differential Revision: https://developer.blender.org/D3125
2018-04-09Added support for the WEBM/VP9 video codecSybren A. Stüvel
WEBM is the codec name, and VP9 is the encoder (the older encoder "VP8" is less efficient than VP9). WEBM/VP9 and h.264 both have options to control the file size versus compression time (e.g. fast but big, or slow and small, for the same output quality). Since WEBM/VP9 only has three choices, I've chosen to map those to 3 of the 9 possible choices of h.264: - BEST → SLOWER - GOOD → MEDIUM - REALTIME → SUPERFAST The VERYSLOW and ULTRAFAST options give very little extra benefit. Reviewed by: @Severin
2018-04-09Remove commented-out codeSybren A. Stüvel
2018-04-09Cleanup: avoid recalculating global centerCampbell Barton
2018-04-08Alphabetically ordered audio and video codecsSybren A. Stüvel
2018-04-08Encoding panel clarificationsSybren A. Stüvel
The encoding panel mentions "None" in a few places, which is confusing. - "Codec: None" now reads "No Video" - "Audio Codec: None" now reads "No Audio" - "Output Quality: None; ..." now reads "Constant Bitrate" When selecting "No Video" the remaining video encoding options are hidden, making it even more explicit that there will not be video in the output file. The label "Codec" now reads "Video Codec" for symmetry with "Audio Codec".
2018-04-06Fix Collada: nullptr is a c++11 keyword. Changed to NULLGaia Clary
2018-04-06Fix Collada: Import of animations for objects with multiple materialsGaia Clary
When importing multiple materials for one object, the imported material animation curves have all been assigned to the first material in the object. This fix also improves the console logging whenever the importer finds a consistency problem with the imported animation data.
2018-04-06Cleanup: style, doxy headersCampbell Barton
2018-04-05UI: Add accelerator keys to quit confirmation popupJulian Eisel
2018-04-05Cleanup: use string macros to avoid duplicate argsCampbell Barton
2018-04-05BLI_string_utf8: macros that de-duplicate sizeof argCampbell Barton
2018-04-05Depsgraph: Pull indirect dependencies via pchan constraintsSergey Sharybin
Was missing ID looper for pchan constraint.
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-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-05Changed rotation calculation in rotate_normalRohan Rathi
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-04Depsgraph: Make sure textures used by modifiers are in the graphSergey Sharybin
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: Ensure root pchan is always foundSergey Sharybin
2018-04-04Depsgraph: Assert that pchan index is always validSergey 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-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-03Undo: make id-map use binary search to keep sortedCampbell Barton
2018-04-03Fix own error w/ undo ID lookupCampbell Barton
Was testing with small number of items, so this went unnoticed.
2018-04-03Cleanup: rename BMesh count_ex -> count_at_mostCampbell Barton
2018-04-03Cleanup: rename list count_ex -> count_at_mostCampbell Barton