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
2017-08-07Refactor ID copying (and to some extent, ID freeing).Bastien Montagne
This will allow much finer controll over how we copy data-blocks, from full copy in Main database, to "lighter" ones (out of Main, inside an already allocated datablock, etc.). This commit also transfers a llot of what was previously handled by per-ID-type custom code to generic ID handling code in BKE_library. Hopefully will avoid in future inconsistencies and missing bits we had all over the codebase in the past. It also adds missing copying handling for a few types, most notably Scene (which where using a fully customized handling previously). Note that the type of allocation used during copying (regular in Main, allocated but outside of Main, or not allocated by ID handling code at all) is stored in ID's, which allows to handle them correctly when freeing. This needs to be taken care of with caution when doing 'weird' unusual things with ID copying and/or allocation! As a final note, while rather noisy, this commit will hopefully not break too much existing branches, old 'API' has been kept for the main part, as a wrapper around new code. Cleaning it up will happen later. Design task : T51804 Phab Diff: D2714
2017-08-07Merge branch 'master' into blender2.8Bastien Montagne
2017-08-07Fix T52278: 'Default' application template failsCampbell Barton
Own error in 7398b3b7
2017-08-06Fix broken API doc generation: Partially revert rBa372638a76e0Bastien Montagne
Making those arrays static remove them from exported symbols, which breaks API doc generation script. To be backported to 2.79 branch.
2017-08-06Manipulator: experimental lamp positioning toolCampbell Barton
- New manipulator tracks lamps to position under cursor. - Works with multiple lamps, keeping relative offsets. - Holding Ctrl moves the lamp. - Access via manipulator or Shift-T. Code could be improved, but like to get feedback from users.
2017-08-05Merge branch 'master' into blender2.8Campbell Barton
2017-08-05View3D: expose normal from depth publiclyCampbell Barton
2017-08-04Tracking: Undefine temporary defineSergey Sharybin
Missed this in previous commit.
2017-08-04Manipulator: fix cage2d cancel not resettingCampbell Barton
2017-08-04Manipulator: fix 2d overlay w/ Blender RenderCampbell Barton
2017-08-04Tracking: Remove limit of 50 points of the track historySergey Sharybin
Was quite stupid reason for this: static size of array. Now we allocate needed amount of points in heap if requested path length is getting too big.
2017-08-04Manipulator: add compositor crop manipulatorCampbell Barton
2017-08-04Tracking: Cleanup of transform codeSergey Sharybin
2017-08-04Manipulator: add manipulator space matrixCampbell Barton
Render-border & crop-node 2d-cage manipulators where unreasonably complicated to implement because there was no good way to define the sub-region the manipulator was transforming in (render border within the camera's frame for example). Add matrix-space variable, remove scale property from cage2d manipulator, use matrix instead.
2017-08-04Tracking: Cleanup, use boolean instead of integerSergey Sharybin
2017-08-04Manipulator: fix check for custom functionCampbell Barton
2017-08-04BLI_math: use const args for mul_m#_seriesCampbell Barton
2017-08-04Manipulator: modal was drawing in wrong draw-stepCampbell Barton
2017-08-04Manipulator: remove unused draw stepCampbell Barton
2017-08-04Manipulator: correct center-pivot clampingCampbell Barton
2017-08-03error in last commitCampbell Barton
2017-08-03Manipulator: disallow negative scale when resizingCampbell Barton
2017-08-03Manipulator: use matrix to convert view coordsCampbell Barton
Was doing this with property get/set but this made view operations require refreshing manipulator properties. Simplify by operating on properties in their own space. Also disable clamping for now since it assumes pixel-space.
2017-08-03Fix for last commitCampbell Barton
Missed check for non-camera view frame
2017-08-03Manipulator: render border widgetCampbell Barton
Note there are issues clamping & updating, will resolve as part of changes to cage2d widget.
2017-08-03Depsgraph: Fix wrong data type used for armature tagSergey Sharybin
Spotted by Ray aka LazyDodo, thanks!
2017-08-03Manipulator: Use 2D manipulators in the 3D viewCampbell Barton
Also split update flag into draw-steps, since drawing 3D manipulators was tagging 2D as being refreshed.
2017-08-03Manipulator: use default for cage2d dimensionsCampbell Barton
Also minor cleanuup, assign new vars for manipulator group.
2017-08-03Cleanup: split 3D view manipulators by typeCampbell Barton
2017-08-03Cleanup: warningsCampbell Barton
2017-08-03Cleanup: rename selectionbase -> select_idCampbell Barton
2017-08-03Merge branch 'master' into blender2.8Campbell Barton
2017-08-03Remove volatile, causing issues w/ GCC/ubsanCampbell Barton
Was Cygwin workaround, no longer needed.
2017-08-02GraphEdit Handle Drawing: Fix handle-vertex size regression (2.7 -> 2.8)Joshua Leung
Keyframe handle vertices (the circles on the ends of the handles) should always be larger than the central vertex. This brings back the "outer" radius value from the old gluDisk(), and doubles it to get the necessary diameter, to scale it properly. TODO's: - Get rid of all fills inside these circles - Make the central vertex square-shaped again
2017-08-02Keyframe Drawing: Fix 2.7 -> 2.8 regressionsJoshua Leung
* Outlines of keyframes were too thick and ugly * Size differences between keyframe types was being swallowed by the pixel-fudge factor, leaving colour as the only distinguishing factor (bad!)
2017-08-02Manipulator: add area lamp manipulatorCampbell Barton
2017-08-02Manipulator: Make cage2d usable in the 3D viewCampbell Barton
2017-08-02Manipulator: correct cage-2d scale updateCampbell Barton
2017-08-012.79 release: update version numbers & readfile versionning code.Bastien Montagne
2017-08-01Render: make Cycles and Evee support each other's output material nodes.Brecht Van Lommel
This changes the Cycles exporting and Cycles/Eevee UI code to support both output material nodes, giving priority to the renderer native one. Still missing is Eevee code to prefer the Eevee output node.
2017-08-01Fix multi-units drawing re precision handling.Bastien Montagne
This is still far from prefect, but yet much better than what we had so far (more consistent with inheritent precision available in floats). Note that this fixes some (currently commented out) units unittests, and requires adjusting some others, will be done in next commit.
2017-08-01BLI_math: add simple helper to get amount of 'integer' digits in a float number.Bastien Montagne
2017-08-01Fix typo in 2d-cage manipulatorCampbell Barton
2017-08-01Cleanup: warningsCampbell Barton
2017-08-01Correct previous commit, instance should be clearedCampbell Barton
Clear instance in case creating creating new instance fails. In practice this shouldn't happen, but better not cause further errors if it does.
2017-08-01PyRNA: Ensure changed types creates a new instanceCampbell Barton
Changing lamp type for eg needs to create a new instance.
2017-08-01Merge branch 'master' into blender2.8Campbell Barton
2017-08-01Cleanup: double promotionCampbell Barton
2017-08-01Cleanup: warnings from last commitCampbell Barton
2017-08-01Merge branch 'master' into blender2.8Campbell Barton