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-02-06Depsgraph: Correction to previous particle fixSergey Sharybin
The reason it appeared working was due to left-over debug code to force time dependency. Real fix seems to include force tagging objects used by duplication, similar to what we do for some other modifiers already.
2018-02-06Use eObjectMode for function argumentsCampbell Barton
2018-02-06DNA: move eObjectMode into own headerCampbell Barton
Add a enum headers to DNA, to be included in other headers so function signatures can use enums for better type safety. Add DNA_*_enums.h matching DNA_*.types.h as needed.
2018-02-05Fix bevel profile=1 problems, see T39132, T38458, T40278, T51010,Howard Trickey
T53783. Before, profile=1 ("square outside") only worked well in a few cases (some "pipes", cube corners). This makes it work well pretty much everywhere.
2018-02-05Minor change to last commitCampbell Barton
Keep mode checks simple, nest other checks in their body.
2018-02-05Fix T53986: Crash saving during sculpt strokeCampbell Barton
Also remove unused struct member.
2018-02-03Cycles: add Vector Displacement node and extend Displacement node.Brecht Van Lommel
This adds midlevel and object/world space for displacement, and a vector displacement node with tangent/object/world space, midlevel and scale. Note that tangent space vector displacement still is not exactly compatible with maps created by other software, this will require changes to the tangent computation. Differential Revision: https://developer.blender.org/D1734
2018-02-02Fix missing group duplicated by hair in renderSergey Sharybin
Was happening when viewport visibility on the particle system is disabled. This became an issue after c45afcf, but the actual issue goes a bit deeper and the following aspects were involved: - Relations builder for particle system was ignoring particle system if it's visibility is not enabled for viewport. This is something what shouldn't have been done -- depsgraph relations are supposed to be the same no matter if it's viewport or render. - Relation builder was only dealing with duplication set to object, but was ignoring group duplication. This is technically a regression in 2.79a-RC as well, so would need to backport this fix to the branch after extra testing is done here in the studio.
2018-02-02fix: silence warnings about unused local variable (thanks to dfelinto for ↵Gaia Clary
the hint)
2018-02-02Fix T53980: IK influencing REST POSE with New DepsgraphSergey Sharybin
2018-02-02Cleanup: wrap function argsCampbell Barton
2018-02-02fix: unintentionally commented out collada animation exportGaia Clary
2018-02-01Fix T53686: VSE Render crash when zooming timelineSergey Sharybin
This is rather a workaround to avoid main thread freeing all glyph caches at the same time as sequencer uses fonts to draw text sequences. Ideally we need to either make cache more local, or user-counted or to make somewhat more global locks. All this ends up in a bigger refactor which is better for 2.8. For the meantime let's make Blender more stable with a tiny workaround. Downside is that keeping zooming things up and down in interface during render will increase memory usage by unused glyph caches. It's not too bad though, all unused caches will be freed first time at area zoom after render. Thanks Bastien for review!
2018-02-01Fix T53951: Copy ms runtime dlls using InstallRequiredSystemLibraries.cmakeRay Molenkamp
Differential Revision: https://developer.blender.org/D3032
2018-02-01Fix: msvc build error with bli_fileops.hRay Molenkamp
bli_fileops.h was using uint64_t without including the proper header. issue triggered by rBb0af44fa4d7a2e134b315c49a4fbdf573f781004
2018-02-01Fix T53686: VSE Render crash when zooming timeline.Bastien Montagne
Epic fail from recent 'security' fixes (rBe04d7c49dca9). ;) To be backported to 2.79a!
2018-02-01Cleanup: pass userdef to write_userdef, const argsCampbell Barton
2018-02-01Cleanup: rename BLI_*_empty() -> clear()Campbell Barton
Consistent with other BLI API's
2018-02-01gpu_shader_material: Correct incorrect glsl texture of Voronoi, Noise, and ↵Germano
Musgrave on some Intel GPUs
2018-02-01fix T50198: The OpenCollada error handler must return true after detecting ↵Gaia Clary
uncritical errors.
2018-01-31I18n disambiguation: IRIS is both a file format and a VSE wipe effect...Bastien Montagne
At some point, we could probably think about removing IRIS file format support, don't think there are much of those around anymore. But for now, let's add a translation context to wipe effect. :) Reported in T43295 by @blend-it, thanks.
2018-01-31Fix possible concurency issue in mesh normals computation.Bastien Montagne
Failure in own code from last December, thanks @sergey for finding it. To be backported to 2.79a.
2018-01-31WM: correct comment, variable name for addonsCampbell Barton
2018-01-30Fix blender player (tm)Sergey Sharybin
2018-01-30Fix T52520: Metaballs in edit mode causes infinite Cycles viewport resetSergey Sharybin
The issue was introduced by eb016eb as a fix for T41258, which added depsgraph tagging with zero flag. The comment was saying that it's to make derived caches to be updated, however bot sure how that could possibly work: tagging ID for update with 0 flag only sets updated tags in bmain in old dependency graph. In the new depsgraph, where object data is a part of depsgraph, doing such a tag forces object to be updated, which re-triggers viewport rendering, which is causing such an infinite viewport render rest. Can not reproduce any crashes here, so maybe it's fine to move on with this change.
2018-01-30Cleanup: warning, spellingCampbell Barton
2018-01-30Fix T53943: Weight paint crash in new sceneCampbell Barton
2018-01-29Fix nan problem in previous bevel commit.Howard Trickey
For chains, access to g_prod[0] was undefined. And two minor style (whitespace) changes.
2018-01-29Depsgraph: Correction for previous fixSergey Sharybin
Original fix only worked when there is one custom property.
2018-01-29Depsgraph: Fix missing update when property from proxy rig drives somethingSergey Sharybin
2018-01-29Depsgraph: Disable labels on relationsSergey Sharybin
This code was disable a while back and got re-enabled by some previous debug process. Having relation names in dot file helps understanding what's going on in one cases, but makes things spread too far away in others.
2018-01-29Depsgraph: Cleanup, line wrapsSergey Sharybin
2018-01-29Fix T53614: New Depsgraph ignores NLA stripsJoshua Leung
The new depsgraph was only considering the active action when attaching relations from the AnimData component/operation to the properties that are affected by the animation data. As a result, only properties animated by the active action were working, while those animated by NLA strips did not change when playing back/scrubbing the timeline. This commit fixes this introducing a recursive method to properly visit all NLA strips, and calling DepsRelBuilder::build_animdata_curves_targets() on each of those strips.
2018-01-293D View: use_mouse_init for zoom & trackball orbitCampbell Barton
2018-01-29Cleanup: move boolean options into flagCampbell Barton
- Rename eViewOpsOrbit to eViewOpsFlag since VIEWOPS_ORBIT_DEPTH isn't just used for orbiting. - Move use_ensure_persp & use_mouse_init into the flag. - Remove viewops_data_create_ex.
2018-01-29Fix: Disable leftover debug prints from earlier work on the rna path ↵Joshua Leung
renaming/fixing code
2018-01-29Fix T53909: Joining armatures did not remap names on merged action dataJoshua Leung
Technically this was not a bug, as this functionality was not meant to work. (Drivers were already handled though, as they are part of the rig) It was assumed that there was little value in having this functionality available, as in most pipelines, animation production only begins after the rig has been locked down (see bug report comments for more details). On reflection, in most common situations, there's probably no harm in doing these rna path fixups. This commit takes advantage of some similar code I recently put in place in the Grease Pencil branch (for joining GP objects and their layers). Important Note for Animators/Riggers/TD's: Please be aware that after joining armatures, some of the animation may still need to be redone (due to changes in the transform hierarchies/ transform spaces that the animation is applied in). We do not attempt to correct for these problems, and it is unlikely that we will in future.
2018-01-29Apply Pose as Rest Pose: Bendy Bone supportJoshua Leung
The "Apply Pose as Rest Pose" operator now affects Bendy Bone settings too, making it possible to use interactive posing tools (e.g. Pose Sculpting brushes) to get the desired shape for the rest-pose shape of Bendy Bones. When such posing tools are available, this change makes it easier to get the desired Bendy Bone shapes, as you are no longer restricted to using buttons to get the desired effects.
2018-01-29Cleanup: rename user preference flagsCampbell Barton
USER_ZBUF_ORBIT -> USER_DEPTH_NAVIGATE The name didn't make sense since it's used for all view navigation. Also rename USER_ZBUF_CURSOR -> USER_DEPTH_CURSOR since zbuf is an internal detail.
2018-01-29Cleanup: comments & whitespaceCampbell Barton
2018-01-29Cleanup: ViewOpsData struct membersCampbell Barton
- Group initial/previous/current members Was using terms old/prev/last/orig in confusing way. - Replace x,y variables with vectors. - Remove unused members.
2018-01-293D View: internal option not to use mouse locationCampbell Barton
When accessing view-port operators from widgets we need the ability not to use auto-depth or zoom-to-mouse. Trackball rotation still needs to be supported.
2018-01-29Cleanup: minor simplification for zoom/dollyCampbell Barton
Make args more consistent.
2018-01-29Cleanup: de-duplicate common 3D view propertiesCampbell Barton
2018-01-29Fix T53459, inconsistent bevel on identical edges.Howard Trickey
The old algorithm depended on vertex order. The new one uses a global least squares solution on chains and cycles of edges where loop slide induces a dependency. See https://wiki.blender.org/index.php/Dev:Source/Modeling/Bevel in the "Consistent Widths for Even Bevels" for derivation of the new algorithm.
2018-01-28Usual i18n/UI messages fixes.Bastien Montagne
2018-01-28Cleanup: style, spellingCampbell Barton
2018-01-28Cleanup: use doxy sections for view3d_view.cCampbell Barton
Also move ..._needs_opengl functions into view3d_utils.c
2018-01-28Cleanup: move 3D view utilities into own fileCampbell Barton
Operators and utility functions were getting too mixed up, the files were also quite large.
2018-01-26IMB: Add asserts that returned fps and fps base are strictly positives.Bastien Montagne
Forgot to add that in previous commit, also related to T53003.