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
2019-05-22Fix: Auto Merge icon state were wrongly swappedWilliam Reynish
2019-05-22GPU: Refactor GPU_batch_draw_range_exClément Foucault
Rename it to GPU_batch_draw_advanced and use base instance when possible. Also add GPU_batch_bind to bind the vao independantly of drawing commands.
2019-05-22Fix T64972: object convert to mesh not working after recent changesBrecht Van Lommel
This was the only remaining cases that used a string lookup, which didn't work anymore now that it's no longer a real value in the context.
2019-05-22Fix T64969: changing color space in image texture node loses changesBrecht Van Lommel
Don't allow changing it for painted images until they have been saved, similar to sidebar panels. This could be solved better, for now the important thing is not to lose changes.
2019-05-22Fix T64974: misisng multi-object edit for some curve operators, like smoothBrecht Van Lommel
2019-05-22Fix WITH_HEADLESS buildCampbell Barton
2019-05-22Remove "_base*" from context APIDalai Felinto
We are not exposing RNA_ObjectBase in the 2.80 API. Thus we can't have operators relying on it (e.g, CTX_data_visible_bases, CTX_data_active_base, ...). Otherwise users won't be able to override context for these operators. This commit keep the CTX_data_.*bases() functions around so we don't need to change the operators and potentially break things that late into 2.80. However as far as the Python scripters are concerned there is no base to be overriden, ever. That also simplify the guessing game addon developers have to play when trying to override an operatori context. They still need to find whether an operator requires editables, visibles, selected, ... objects. But at least they don't need to find out whether the operators need base or object.
2019-05-21VSE: Don't store `cfra` in cacheRichard Antalik
Strips can move in time. Using cfra may give us erratic results. Reviewed by: brecht Differential Revision: https://developer.blender.org/D4898
2019-05-21Fix: Reset to the default theme not auto-savedDalai Felinto
T64679 mention a desire for a solution that is not in a per-case basis. However until then we are still better off with this working then not. Specially since changing individual theme elements works, while reset theme was not working.
2019-05-21Fix T64738: pick short path seam not doing live unwrapBrecht Van Lommel
2019-05-21Fix part of T64679: Missing dirty preferences tagCampbell Barton
- Editing shortcuts. - Editing walk mode navigation. - Adding/removing paths.
2019-05-21Viewport: MSAA support during ViewportRenderingJeroen Bakker
When rendering viewport to an offscreen buffer the buffer was constructed for non anti aliasing (0 samples). This made the objects that are drawn by the `object_mode` including `wireframe` draw type non-anti-aliased. The offscreen buffers will be constructed based on the user setting for viewport multisampling (`U.ogl_multisamples`). The same setting will also be used when previewing scene strips in the sequencer. For now this only improves wireframe drawing in the scene strips. To improve the Anti aliasing in the scene strips we need to get finer control in the draw manager. This will be part of a different patch I am preparing. Please note that this patch also cleansup some unused code in the offscreen rendering (FSAA code was still existing, but never called) Reviewed By: brecht Maniphest Tasks: T64849 Differential Revision: https://developer.blender.org/D4907
2019-05-21OffscreenRendering: Fix Incorrect Window CoordinatesJeroen Bakker
When doing offscreen rendering (Viewport Render or Sequencer Scene strip) EEVEE and workbench used the wrong window coordinates. These coordinates included the border that was not drawn. Reviewed By: brecht Maniphest Tasks: T64505 Differential Revision: https://developer.blender.org/D4864
2019-05-21Fix T64842: crash rendering files with bevel curvesBrecht Van Lommel
This is old logic that no longer makes sense in the new depsgraph, and causes issues when multiple threads try to modify the same bevel object. Differential Revision: https://developer.blender.org/D4913
2019-05-21Cleanup: use term pad instead of paddingCampbell Barton
- Use min/max instead of bottom/top (in keeping with the rest of the BLI_rect API). - Swap args (was passing in max, min).
2019-05-21Graph Editor: view-selected takes scrubbing and marker region into accountJacques Lucke
2019-05-21Fix T64927: bad timeline number spacing with scaled UIJacques Lucke
2019-05-21Fix T64867: crash when changin image source to MoviePhilipp Oeser
thx @Gvgeo for adding the python/RNA case as well. Reviewers: brecht Maniphest Tasks: T64867 Differential Revision: https://developer.blender.org/D4902
2019-05-21Fix T64912: Crash right clicking on 'Add New Material'Campbell Barton
D4904 by @Gvgeo
2019-05-21UI: support drawing booleans with icons as check-boxesCampbell Barton
Previously, if a boolean happened to use an icon there was no way to make it display as a check-box from Python scripts. The previous logic meant we ended up having to edit the RNA. Since booleans with icons don't work well with the split-property layout (now used for most of the interface). Icons were being removed from RNA then added back using awkward Python ternary expressions in the interface scripts. The toggle argument now has an unset state (-1). - toggle=True: no checkbox (emboss). - toggle=False: always use a checkbox (no icon). - toggle=(unset/-1): depends on the icon status, default as before. Since toggle=False was default, this isn't used in existing UI logic.
2019-05-21Cleanup: const assignments to simplify codeCampbell Barton
Also avoids using uninitialized vars.
2019-05-21UI: move edge-tag option from the scene into the operatorCampbell Barton
This was a very specific option to display in global tool settings. Now this is exposed in the operator when edge-select mode is enabled.
2019-05-21Fix memory leak in Normals from Faces operatorCampbell Barton
2019-05-20UI: Outliner - Do not highlight icons of active lightsHarley Acheson
This removes the extra highlighting of lights that are active as this is not supported Differential Revision: https://developer.blender.org/D4903 Reviewed by Brecht Van Lommel
2019-05-20Normal UI: for all ops needing autosmooth on, enable it if needed.Howard Trickey
Now Normal menu operations and rotate normals (r n) do not need manual enabling of autosmooth first. See T64324 for discussion of Normal UI changes.
2019-05-20Clip editor: make tool/sidebar wider by default, right align movie clip infoBrecht Van Lommel
2019-05-20Fix outliner drawing unselected active objects as if they are selectedBrecht Van Lommel
Now we always draw a roundbox behind the active object icon, and only change the text color if the active object is also selected. This matches the 3D viewport better.
2019-05-20UI: right align info in image settings panelBrecht Van Lommel
2019-05-20Cleanup: reorder report argument for pointer assignmentCampbell Barton
Most code uses ReportList argument last (or at least not first) when an optional report list can be passed in.
2019-05-20UI: add Visibility panel for objectsDalai Felinto
The outliner should not be the only way for users to change these settings. The Python API was extended to keep these properties positive and keyframable. Differential Revision: https://developer.blender.org/D4889
2019-05-20Fix T64766: use grid size from user preferencesJacques Lucke
2019-05-20Fix compiling: Forgot this file in last commit.William Reynish
2019-05-20Icons: Fix wrong icon namesWilliam Reynish
Some file-related icon names were mixed up. We have icons for cache, volume, 3rd party 3d files, hidden, backups, drives
2019-05-203D View: re-use select id buffer for circle select on cursor-motionCampbell Barton
The new selection code was redrawing everything for each update. Use the gestures wmGenericUserData to store the cache between executions and ensure it's freed.
2019-05-20WM: add wmGenericUserData utility structCampbell Barton
Useful to have a generic user data with an optional custom free function, use for wmGesture.
2019-05-20Cleanup: rename buffer select var: bbsel to use_zbufCampbell Barton
2019-05-20Cleanup: move selection utilities into ED_select_buffer_utilsCampbell Barton
2019-05-20Cleanup: remove EDBM_backbuf APICampbell Barton
2019-05-20Cleanup: remove unused G_FLAG_BACKBUFSELCampbell Barton
2019-05-203D View: use new buffer selection API's for paint vert/face selectCampbell Barton
Removes EDBM_backbuf use.
2019-05-20Fix error mixing old/new buffer selection API'sCampbell Barton
Missed from 4f6e25280558c, the second pass often wont run, so the error didn't show up on basic tests.
2019-05-19UI: Edit Menu Operator PollingHarley Acheson
This patch updates the polling that enable/disables Edit Menu items. Slight Undo History menu changes Differential Revision: https://developer.blender.org/D4846 Reviewed by Brecht Van Lommel
2019-05-19Edit Mesh Select: Fix/update to new logic.mano-wii
2019-05-19VSE: add movie strips on top of audioRichard Antalik
- add movies to channel above free slot (no check for 2 free slots), add sound to the free slot - don't override channel settings if `channel` property is set This is just a hack. Propper implementation should be done along with T59540 Reviewed By: brecht Differential Revision: https://developer.blender.org/T59540
2019-05-19Fix T64579: Failure to honor anamorphic displayRichard Antalik
Restore stretching of sequencer preview removed in rB005626b8c6b4 Reviewed By: brecht Differential Revision: https://developer.blender.org/D4879
2019-05-19UI: Icons updateWilliam Reynish
A few icons were missed in the last update. - Added dedicated icon for showing hidden objects in the Graph Editor - Added new, more descriptive icon for F-Curve snapshots - Tweaks for Toggle Full Screen and Collections icons This should be the final set for 2.80. Thanks to Andrzej Ambroż for contributing this icon set.
2019-05-19UI: minor tweaks to image editor panelsBrecht Van Lommel
2019-05-19UI: use single column layout for image settings panelsBrecht Van Lommel
2019-05-19Images: change alpha settings to support channel packingBrecht Van Lommel
This also replaces the Use Alpha setting. We now have these alpha modes: * Straight: store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. * Premultiplied: transparent RGB pixels are multiplied by the alpha channel. The natural format for renders. * Channel Packed: different images are packed in the RGB and alpha channels, and they should not influence each other. Channel packing is commonly used by game engines to save memory. * None: ignore alpha channel from the file and make image fully opaque. Cycles OSL does not correctly support Channel Packed and None yet, we are missing fine control over the OpenImageIO texture cache to do that. Fixes T53672
2019-05-19Fix T64822: curve widget point selection does not take into account DPIBrecht Van Lommel