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-03-12Cleanup: remove misleading array sizeCampbell Barton
2018-03-12Cleanup: sync EDBM_uv_* functions w/ 2.8Campbell Barton
They're nearly the same, so keep names matching to avoid conflicts.
2018-03-12UV: internal changes to pickingCampbell Barton
Nothing user visible, only things needed for multi-object support, making picking functions more flexible too. - Support passing in an initialized hit-struct, so it's possible to do multiple nearest calls on the same hit data. - Replace manhattan distance w/ squared distance so they can be compared. - Return success to detect changes to a hit-data which might already be initialized (also more readable).
2018-03-11Cleanup: long linesCampbell Barton
2018-03-09Fix Pose Lib: pose is applied when selected bones don't overlap with poseSybren A. Stüvel
Premise: When pose bones are selected, applying a pose library should only affect the selected bones. This commit fixes a bug where the pose was also applied when there was no overlap between the selected bones and the bones in the pose. For example, applying a pose which contains only keyframes for the left hand, while only right-hand bones are selected, would apply the pose to the left hand anyway. The code is now also slightly more efficient; the removed 'selcount' counter was only used as a binary (i.e. zero or non-zero). It's now stored as a bitflag instead.
2018-03-08Cleanup: Rename view3d context set functionCampbell Barton
Use common prefix so adding related functions share the prefix.
2018-03-08Cleanup: use edit/active objects from view contextCampbell Barton
Needed to implement multiple edit-objects.
2018-03-08Cleanup: set the view-context onceCampbell Barton
2018-03-08Cleanup: Use BKE_ prefix for all public functions exposed by the NLA moduleJoshua Leung
2018-03-08Fix crash if NLA strip with "Use Animated Influence" setting is enabled ↵Joshua Leung
without the Influence Strip F-Curve existing
2018-03-08Fix T54206: bevel and inset operations repeat did not remember offset.Brecht Van Lommel
Now repeating the operator will use the previously chosen offset, either with the modal operator or typed in. The modal operator will still start at zero.
2018-03-07EditMesh: pass object data to notifiersCampbell Barton
Both were being passed in different parts of the code, use object data for consistency.
2018-03-07Cleanup: edit-mode undo APICampbell Barton
Move function descriptions into the struct, minor improvements to variable naming, use convention of 'g_' prefix for static vars.
2018-03-06Cleanup: unused varCampbell Barton
2018-03-06Utility to enter sculpt modeCampbell Barton
2018-03-06Fix T53206: Array modifier doesn't merge vgroupsCampbell Barton
Vertex group remapping utility function, now shared between object join and array modifier cap-ends. Weights which don't exist are removed. D3092 by @Foaly
2018-03-05Fix T54204: Wrong selection on Clean Tracks (Motion Tracking)Sergey Sharybin
A mistake in a fix for T53612. Regression in 2.79a, candidate for 2.79b :S
2018-03-05Cleanup: left wrong comment inCampbell Barton
2018-03-05Fix T53478, T53430: Sequencer cut edge case failsCampbell Barton
Previous fix for T53430 caused T54200. The edge case for soft & hard cuts weren't working, where the strip used start/end-still & the frame was placed exactly on the start/end of of the sequence content. T54200 fixed the end-still case but broke hard-cuts for all other cases. This fixes the case for soft/hard cuts with/without start/end-still.
2018-03-05Revert "Fix T53430: Cut at the strip end fails w/ endstill"Campbell Barton
This reverts commit 855799ecc1c5e53d9fbfe520fd5402bc0138f674. Caused T54200
2018-03-03Fix T54211: OpenGL debug error message in texture draw mode.Brecht Van Lommel
Quite harmless and won't be a problem in 2.8.
2018-03-02Object Mode: move logic to 'object_modes.c'Campbell Barton
Was mixed with edit-mode, centralize mode switching in a single file. No functional changes.
2018-03-02Fix building w/o PythonCampbell Barton
Also minor cleanup.
2018-02-28Fix T52685, part II: Add option to strip numbers from flipped bone names again.Bastien Montagne
While doing so with Bone_R.001, Bone_R.003, Bone_R.003 etc. is doomed to issues, doing that on duplicates of actually correctly named bones can be handy, and safe. So adding back as an option (was removed in rB702bc5ba26d5).
2018-02-28Fix T52685: Flip names for bones its not working.Bastien Montagne
Flip names operator changed in rB702bc5ba26d5, to some sensible behavior. But this breaks common workflow of 'duplicate part of the bones, scale-mirror new ones, and flip their names'. So now, instead of doing this in two steps, trying to guesstimate which bones should get which name, just add option to flip names to duplicate operator itself. Simpler, safer, and much, much more consitent behavior and predictable results.
2018-02-28collada: call from operator to Collada exporter/importer now uses structures ↵Gaia Clary
instead of passing many parameters
2018-02-28Null pointer check exiting sculpt modeCampbell Barton
Needed for 2.8x, harmless here.
2018-02-28Code cleanup: fix a few compiler warnings.Brecht Van Lommel
2018-02-28Cleanup: comment for depth picking code, const argsCampbell Barton
Note that setting `glDepthFunc` isn't important, since 2.8 branch changes this value it might seem like an error however it's harmless in this case - so better make note of this.
2018-02-27Collada exporter: Replaced numbers 0/1 by boolean values fasle/true for ↵Gaia Clary
better reading
2018-02-27Collada Shape key export can create huge datafiles and may need some ↵Gaia Clary
optimization. Disable export by default, user can still enable on demand
2018-02-27Collada enable Export of animation data by defaultGaia Clary
2018-02-27Cleanup: remove unused duplicate codeCampbell Barton
2018-02-26simplified collada integration in Blender. made functions mostly similar ↵Gaia Clary
with blender2.8
2018-02-26Adding support for Matrix Transformation exportGaia Clary
The exporter does export matrix data (4*4 Transformation matrix) only for Skeletal animation. For object animation only exporting to trans/rot/loc is implemented. This task implements Matrix export also for simple Object animation. Differential Revision: https://developer.blender.org/D3082
2018-02-26Cleanup: typosCampbell Barton
D3081 by @rjg, with others.
2018-02-26Revert "changing collada parameters"Campbell Barton
This reverts commit d91f2ac37aa02d96a00d116fa55cdc9f55afd32c. This change makes scene.collada_export() meaningless (ignoring the scene the method is being run on).
2018-02-26Cleanup: use function for clearing bmesh tagsCampbell Barton
2018-02-26Fix T50132: UV sticky mode is not respected with border/circle/lasso select.Hugo Sales
Differential Revision: https://developer.blender.org/D3074
2018-02-25Fix incorrect text clipping on node link button in material properties.Brecht Van Lommel
2018-02-25changing collada parametersGaia Clary
Differential Revision: https://developer.blender.org/D3080
2018-02-24T45687: Rework the Export/Import of AnimationsGaia Clary
This started with a fix for an animated Object Hierarchy. Then i decided to cleanup and optimize a bit. But at the end this has become a more or less full rewrite of the Animation Exporter. All of this happened in a separate local branch and i have retained all my local commits to better see what i have done. Brief description: * I fixed a few issues with exporting keyframed animations of object hierarchies where the objects have parent inverse matrices which differ from the Identity matrix. * I added the option to export sampled animations with a user defined sampling rate (new user interface option) * I briefly tested Object Animations and Rig Animations. What is still needed: * Cleanup the code * Optimize the user interface * Do the Documentation Reviewers: mont29 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D3070
2018-02-23Nodes: left align text for color and string sockets, same as other types.Brecht Van Lommel
2018-02-23WM: Add WM_menutype_poll functionCampbell Barton
Wraps menutype poll, no functional changes.
2018-02-22Fix (unreported) meshes changing shading when creating empty clnors data.Bastien Montagne
When you were using autosmooth to generate some custom normals, and created empty custom loop normal data, you would go back to an 'all smooth' shading, cancelling some sharp edges generated by the mesh's smooth threshold. Now we will first tag such edges as sharp, such that shading remains the same. This is not crucial in current master, but it is for clnors editing gsoc branch!
2018-02-22Fix T54129: Moving keyframes on top of other keyframes, removes both keyframesJoshua Leung
Regression caused by earlier commits to improve the automerge behaviour. In this case, the problems only occurred when moving a selected keyframe forwards in time to overlap an unselected keyframe.
2018-02-22Fix: Don't ignore duplicate channels when doing border/circle/lasso selectJoshua Leung
While it is necessary to ignore duplicates when doing Deselect/Column Select (where double-updates may result in nothing being selected), for borderselect, not including the duplicates meant that sometimes, nothing would happen if you were trying to borderselect keyframes originating from hidden channels. This was first noticed in the greasepencil-object branch, but affects all animation channel types.
2018-02-21Cleanup: Don't perform borderselect on channels that aren't visibleJoshua Leung
2018-02-21Fix: Return back to conventional way of averaging points for keyframe de-dupJoshua Leung
The other approach was causing too much error in some cases (e.g. favouring the lower-valued keyframes). This fix should make the resulting curves less bumpy/jagged.
2018-02-21Fix: Forgot to recalculate handles after deleting keyframesJoshua Leung