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
2017-11-23Cleanup: Rename ViewLayer *sl > ViewLayer *view_layerDalai Felinto
2017-11-23Tag properties of transform operators as 'advanced'Julian Eisel
Sets the 'advanced' tag for some properties of following transform operators: * Create Orientation * Translate * Resize * Skin Resize * Trackball * Rotate * Tilt * Bend * Shear * Push/Pull * Shrink/Flatten * To Sphere * Edge Slide * Vertex Slide * Edge Crease * Edge Bevel Weight * Sequence Slide * Transform
2017-11-23Tag properties of some mesh editing operators as 'advanced'Julian Eisel
Sets the 'advanced' tag for some properties of following mesh edit operators: * Loop Cut * Subdivide * Mark Seam * Smooth Vertex * Laplacian Smooth Vertex * Merge
2017-11-23Rename any instance of scene layer or render layer in code with view layerDalai Felinto
The RenderResult struct still has a listbase of RenderLayer, but that's ok since this is strictly for rendering. * Subversion bump (to 2.80.2) * DNA low level doversion (renames) - only for .blend created since 2.80 started Note: We can't use DNA_struct_elem_find or get file version in init_structDNA, so we are manually iterating over the array of the SDNA elements instead. Note 2: This doversion change with renames can be reverted in a few months. But so far it's required for 2.8 files created between October 2016 and now. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D2927
2017-11-22Fix multi layer/multi pass renderDalai Felinto
But introduced on the SceneRenderLayer > RenderLayer commit: 3a95bdfc65d883e7db006f Reported by Sergey Sharybin (over irc).
2017-11-22Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-22SceneRenderLayer Removal/RefactorDalai Felinto
This patch moves all the functionality previously in SceneRenderLayer to SceneLayer. If we want to rename some of these structs now would be a good time to do it, before they are in SceneLayer. Everything should be working, though I will test things further tomorrow. Once this is committed depsgraph can get rid of the workaround added in rna_Main_meshes_new_from_object and finish whatever this patch was preventing from being finished. This patch also adds a few placeholders for the overrides (samples, ...). These are obviously not working, so some unittests that rely on 'lay', and 'zmask' will fail. This patch does not addressed the change of moving samples to ViewRender (I have this as a separate patch and needs some separate discussion). Following next is the individual note of the individual parts that were committed. Note 1: It is up to Cycles to still get rid of exclude_layer internally. Note 2: Cycles still need to handle its own doversion for the use_layer_samples cases and (1) Remove the override as it is (2) Add a new override (scene.cycles.samples) if scene.cycles.use_layer_samples != IGNORE Respecting the expected behaviour when scene.cycles.use_layer_samples == BOUNDED. Note 3: Cycles still need to implement the per-object holdout (similar to how we do shadow catcher). Note 4: There are parts of the old (Blender Internal) rendering pipeline that is still using lay, e.g., in shi->lay. Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit. Reviewers: sergey, campbellbarton, brecht Differential Revision: https://developer.blender.org/D2919
2017-11-22SceneRenderLayer > SceneLayer: Convert LayDalai Felinto
There are parts of the old (Blender Internal) rendering pipeline that is still using lay, e.g., in shi->lay. Honestly it will be easier to purge the entire Blender Internal code away instead of taking things from it bit by bit.
2017-11-22SceneRenderLayer > SceneLayer: Convert material_overrideDalai Felinto
2017-11-22SceneRenderLayer > SceneLayer: Remove light_overrideDalai Felinto
2017-11-22Removing OMP: get rid of last bit in /editors/ area.Bastien Montagne
Just removing it, such cases are not bottlenecks and not worth the complication of doing real threading with own BLI_task.
2017-11-21Disable adding scene sequence strips into themselvesCampbell Barton
D2923 by @spockTheGray w/ edits, see T52586 for details
2017-11-20Avoid passing context to motion path calculationCampbell Barton
2017-11-20Merge branch 'master' into blender2.8Campbell Barton
2017-11-20UV Cube Project: improve default behaviorCampbell Barton
- initialize the cube-size from the bounding box when it's not set. - no longer wrap faces to keep in 0-1 bounds, other projection methods don't do this and calculating the scale prevents the UV's from being too far outside the view.
2017-11-20Fix T53342: Outliner 'select hierarchy' brokenCampbell Barton
Was using cursor position from within menu, clicking on the same position for every selected item (toggling). Now operate on each selected outliner element, without toggling.
2017-11-20Cleanup: BLI headers firstCampbell Barton
Also move descriptions into doxy header
2017-11-19Option not to select with un-hideCampbell Barton
D1518 from @mba105 w/ edits
2017-11-19Cleanup: remove BKE_utildefinesCampbell Barton
This was meant to be used for less general macros but was never used. Rename BKE_BIT_TEST_SET to SET_FLAG_FROM_TEST
2017-11-19Fix: Undo pushes were missing for Add/Remove Driver Variable buttons, and ↵Joshua Leung
Remove Driver button
2017-11-19Cleanup - StyleJoshua Leung
2017-11-19Fix T53300: Bone Extrude via Ctrl + Click is not done from active bone tailJoshua Leung
2017-11-19Fix: "Lock Markers" option was not being obeyed by the "Sync Markers (when ↵Joshua Leung
transforming)" option
2017-11-19Tweaks to make it easier to update bone motion paths (without the active ↵Joshua Leung
bone needing to have any paths itself) This commit introduces the following changes: * Modified the poll callback on the "Update Paths" operator for bones so that it only checks if there are bones that have motion paths (instead of checking whether the active bone has paths). This makes it easier to update paths without having to first select one that has them - useful when the paths are all on hidden/hard-to-select bones. * Add a readonly property, "has_motion_paths" to the animviz.motion_path RNA struct, providing easier access to the internal flag used above. This makes it possible for the UI to display the "Update" button without having to check various bones for motion paths. Notes: * The flag being used in these changes already existed, and was only really intended for internal use. However, since it was already used in many places for determining if auto-update of all bone paths was needed (e.g. after certain editing ops), it should be safe to use here too. * The update_paths operator currently bakes all paths when activated, so there's currently no loss of functionality with changing to not checking if the active bone has any paths (e.g. we couldn't only update the active bone only either). That is still listed as a todo in the code.
2017-11-19Pasting poses now updates motion pathsJoshua Leung
2017-11-19Fix T53229: "Sample Keyframes" errors with multiple pairs of keyframes selectedJoshua Leung
There were 2 issues here (first was the one reported): 1) Curve shape changes if multiple consecutive pairs of keyframes are selected. The problem is that after the first pair is handled, subsequent pairs get sampled on the basis of the modified curve. 2) With multiple separate "islands" selected, unselected points in between would get ignored, causing the entire curve to get sampled.
2017-11-19Merge branch 'master' into blender2.8Julian Eisel
2017-11-18Cleanup: styleCampbell Barton
2017-11-18Add select similar custom bone shapeCampbell Barton
D2820 by @col-one w/ edits
2017-11-17Depsgraph: Fix assert/crash when transforming from redo systemSergey Sharybin
Redo system will set depsgraph to NULL, so need to ensure it exists. Reported by Julian in IRC, thanks!
2017-11-17Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-17Fix UV Projection Center CalculationCampbell Barton
UV project mixed up global/local space, 3D cursor offset didn't take object scale into account. Minor improvements: - Match Cube Project 'center' behavior w/ sphere & cylinder. - Add active-element center. - Wrap UV's in Cube Project based on center instead of first vertex.
2017-11-16Fix T51210: Draw Manager: Support for Metaball DrawingGermano
Differential Revision: D2914
2017-11-15Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenlib/BLI_math_matrix.h source/blender/blenlib/intern/math_matrix.c source/blender/blenlib/intern/rand.c source/blender/editors/animation/anim_channels_edit.c source/blender/makesrna/intern/rna_mask.c
2017-11-15Fix T53309: Remove default 'Clear loc/rot/scale delta transform' shortcuts.Bastien Montagne
The loc one (shift-alt-G) was same as 'remove selected from active group' action... Clear delta transform is not a common operation, so we can live without a default shortcut for it. Note that using same key (G) in same space for two completely different kind of operations is probably a rather bad thing, nice topic for future keymap work. ;) Probably nice to have in 2.79a.
2017-11-14Cleanup: order BLI before BKE headersCampbell Barton
This was done nearly everywhere already
2017-11-14Cleanup: remove BLI_blenlib from ghash headerCampbell Barton
This causes source files to depend on ghash header for BLI_string/rect/listbase. Also quiet warnings.
2017-11-13Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2017-11-12Fix T53294: bpy.ops.image.open crashCampbell Barton
2017-11-10Manipulator: ruler toolCampbell Barton
Add the 3D view ruler as a tool, the modal operator remains for now however it may be removed if we use the tool-system for 2.8. Note that this does copy code from the operator, its different enough not to attempt to de-duplicate.
2017-11-09Farewell BaseLegacyDalai Felinto
Finally, bases are all using the latest, newest SceneLayer bases.
2017-11-09Rename Scene macros back to their original _NEW less namesDalai Felinto
2017-11-09Farewell Scene->basactDalai Felinto
2017-11-09Merge branch 'master' into blender2.8Dalai Felinto
2017-11-09Fix: unselectable objects can be selected via the NLA editorDalai Felinto
This is not reported anywhere, but it's easy to reproduce. I ran into this while updating this code for the blender2.8 branch.
2017-11-09Depsgraph: Make dependency graph to be built from scene layerSergey Sharybin
This is a final step of having proper ownership. Now selecting different layers in the "top bar" will actually do what this is expected to do. Surely, there are still things to be done under the hood, that will happen in a less intrusive way.
2017-11-09Fix logic for pinning textures users from contextDalai Felinto
This was wrong since it's concenption in 28ee0f9218. The if statement was returning true when pinid was NULL, and false otherwise. However when scene is pinned we also want to run this code. Code snippet by Brecht Van Lommel.
2017-11-08Farewell Scene->baseDalai Felinto
While getting rid of Scene->base we got the following fixes: * Fix "Convert To" operator * Fix "NLA allowing to selected objects that are not selectable * Fix scene.objects (readonly, no option to link/unlink) Note: Collada needs to use the context SceneLayer for adding objects however I added a placeholder, so Collada maintainers can fix this properly.
2017-11-08Merge branch 'master' into blender2.8Brecht Van Lommel
2017-11-08Fix various issues with (multiview) OpenEXR file save/load.Brecht Van Lommel
* Fix saving a multiview render from the image editor giving invalid files. * Fix failure to load multiview images with a single view per part. * Fix loss of multiview metadata when saving/loading a single view. * Fix Z-Buffer writing option for single layer EXR not being respected. Multiview EXRs are now always handled as multilayer internally, significantly reducing the amount of code. Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D2887