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-12-19Fix T63407: 'Select linked' operator in UV editor is broken in when ↵Philipp Oeser
multi-object-editing contains an empty mesh Since BM_uv_vert_map_create would return NULL for an empty mesh, code would then return from uv_select_linked_multi [where it should just skip and continue instead...] Maniphest Tasks: T63407 Differential Revision: https://developer.blender.org/D6441
2019-12-19Fix T72236: UV Stretching OverlayJeroen Bakker
The ratio for area stretching was packed into an unsigned int, but could contain negative numbers. This flipped the negative numbers to high positive numbers and rendered the wrong color in the stretching overlay. I can remember during {T63755} I had to flip the sign to get the correct result, but couldn't find out why that was needed. Now I know. Reviewed By: fclem, mano-wii Differential Revision: https://developer.blender.org/D6440
2019-12-19UI: use DPI scale for transform cursorsCampbell Barton
2019-12-19Fix error in recent gizmo tweak workaroundCampbell Barton
2019-12-19Cleanup: use 'context' to make panels show in their sectionCampbell Barton
All panels were calling poll to draw in their section causing a lot of repeated boiler plate poll functions. Also rename 'PreferencePanel' to 'CenterAlignMixIn' since this is it's purpose.
2019-12-18Animation: Clarified tooltip for Viewport Render AnimationSybren A. Stüvel
The tooltip was static, so it was the same for viewport-rendering the current frame and for the entire animation. It is now different for those two. The structure of `screen_opengl_render_description()` is such that it allows for adding a new description for a soon-to-come feature (T72229).
2019-12-18Gizmo: add the ability to postpone refreshing while tweakingCampbell Barton
This resolves a logical problem using tweak as a fallback tool. See: T66304#828742 The select action would immediately show the gizmo underneath it, then the tweak would be handled by the gizmo instead of moving the item under the cursor. Currently this works by hiding the gizmo until the tweak event ends. While it's simpler to check if the gizmo received a mouse-down event, it causes flickering before each drag event which feels like a glitch. This is optional for each gizmo type because there are cases where this can be useful to activate the gizmo immediately (mesh rip for example).
2019-12-18Cleanup: use wrapper function for gizmo group refreshCampbell Barton
Allows for adding checks before/after refresh, not yet added.
2019-12-18Cleanup: const warning, unused varCampbell Barton
2019-12-18Fix T72372: color picker is unreliable with large "clip end" valuesmano-wii
By my tests, `planes_from_projmat` proved to be more accurate than the current solution. Differential Revision: https://developer.blender.org/D6434
2019-12-18Workbench: Force Vertex Colors in Paint ModeJeroen Bakker
Vertex colors behaved differently as the paint overlay mixed the colors in display mode and the results was multiplied on top of the original shading. This patch will align the implementation to texture painting where the colors are drawn by the workbench engine so the correct shading is applied. This also means that we don't show the vertex colors overlay when not in solid mode. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6436
2019-12-18Fix T72353: Camera Limits VisibilityJeroen Bakker
Due to recent refactoring of the overlay unification the camera limits were also visible when the overlays were turned off. This was because the `draw_extra` had an exception for when looking through the camera. This change also takes the global hide overlays into account. So now the camera limits will not be drawn when overlays are turned off. This also fixed other camera related overlay drawing. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6394
2019-12-18Fix T72124: LookDev Sphere RenderingJeroen Bakker
Due to the refactoring of the overlay engine the draw caches were changed. The sphere batch used to have positions and normals. After the refactoring it didn't had the normals anymore. The normals are needed for shading. As they were not there the look dev spheres were rendered black. This change add the `nor` attribute to `DRW_cache_sphere_get` batch. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6393
2019-12-18Cleanup: remove unused gesture event.Campbell Barton
2019-12-18Fix error assigning the fluid particle flag to the wrong memberCampbell Barton
2019-12-18Fix linking errors WITH_MOD_FLUID=OFF, againCampbell Barton
Expose BKE_fluid_modifier_* functions for readfile versioning.
2019-12-18Image Editor: Load UDIMs even if secondary tile is selectedLukas Stockner
Previously the user had to select the 1001 tile for this to work, now any tile will work as long as the 1001 tile still exists on disk.
2019-12-18Cleanup: use ELEM macroCampbell Barton
2019-12-18Cleanup: warningsCampbell Barton
2019-12-18Image Editor: Disable tile operators if tile 1001 is missingLukas Stockner
2019-12-18Image Editor: Add option to create multiple tiles at onceLukas Stockner
Any existing tiles will be skipped.
2019-12-18Image Editor: Add option to fill UDIM tiles during creationLukas Stockner
2019-12-18Fix T72487: Painting on unitialized UDIM tile crashesLukas Stockner
The UDIM commit accidentally removed the check for whether an ImBuf exists before trying to paint on it.
2019-12-18Fluid: Fix placement of flag resetSebastián Barschkis
Flag reset needs to be placed outside the object loop
2019-12-17Fix T72430: GPencil normalize command crashes blenderAntonio Vazquez
When the stroke weights array was NULL, the function crash. Just check NULL value.
2019-12-17Sculpt: Use more saturated colors in the cursorPablo Dobarro
The previous cursor colors were chosen to match the toolbar icon color, but the contrast on top of the default matcaps was not enough. This commit uses more saturated colors, which are more visible on top of the default matcaps. Reviewed By: jbakker, billreynish Differential Revision: https://developer.blender.org/D6194
2019-12-17Fluid: Fix that maps old smoke and fluid modifiers to new manta modifierSebastián Barschkis
2019-12-17USD Exporter: show export options by defaultSybren A. Stüvel
There are options for the exporter that are relevant for each export, for example the choice between Viewport or Render settings, or whether to export the current frame or an animation. It's better to have the options panel opened by default.
2019-12-17Fix unreported: Crash when confirms GRAPH_OT_decimatemano-wii
`dgo` is MEM_freed just before.
2019-12-17UI: Prevent crash when opening file browser with mouse not in windowSybren A. Stüvel
When the mouse is not inside the Blender window, `CTX_wm_area(C)` returns `NULL`, but this wasn't checked for.
2019-12-17Fix T68665: FCurve group disappear on Curve/Surface object dataSybren A. Stüvel
When going from EDIT to OBJECT mode, Blender updates the object data from the edit-mode data. This took care of renaming FCurves that animate Curve control points when control points are added/removed, but this didn't keep the FCurve groups intact. Since the FCurve groups are tightly connected to the Action channels, it's hard to keep the group pointers intact during this process. Instead of making the code even more complex in an attempt to do that, I implemented a function (`BKE_action_groups_reconstruct()`) that rebuilds the group channel pointers. The call to `action_groups_add_channel()` had to be removed because it updates the the next/prev pointers of the FCurve while we're looping over them, causing infinite loops.
2019-12-17Cleanup: Animation: mark function parameter as `const`Sybren A. Stüvel
`fcurve_path_rename(..., rna_path, ...)` doesn't change `rna_path` at all, so it can be marked as `const char *`. No functional changes.
2019-12-17Fix T72507: Depth of bones missing for navigationmano-wii
Regression introduced in rBb11272a0
2019-12-17Fluid: Fix particle settings typeSebastián Barschkis
2019-12-17Cleanup: spellingCampbell Barton
2019-12-17Cleanup: de-duplicate tool gizmoCampbell Barton
2019-12-17Fix T72416: Tool settings ignored when activated from gizmoCampbell Barton
2019-12-17Cleanup: RNA namingCampbell Barton
- Use abbreviations min/max this is used throughout the existing API. - Rename use_adaptive_stepping to use_adaptive_timesteps since this is used with timesteps_min/max it's clearer to use matching terms.
2019-12-17Cleanup: rename effec -> effectorCampbell Barton
Effector is already used elsewhere for this purpose.
2019-12-17Cleanup: renaming guiding -> guideCampbell Barton
The term guide makes sense on it's own in this context.
2019-12-17Cleanup: replace verbose checks with read-only attributesCampbell Barton
These attributes checked for any baked / baking since this is a common test that was performed in layout code. Also follow our naming convention - using an 'is_/has_' prefix in this case since "cache_baked_data" reads as if it's used to access the baked data.
2019-12-17Cleanup: naming for BKE_fluid particle functionsCampbell Barton
Create/Destroy are more commonly paired terms in BLI/BKE API's.
2019-12-17Cleanup: use uintCampbell Barton
2019-12-17Cleanup: remove redundant string initializationCampbell Barton
Fixed sized strings are always initialized & this is not done elsewhere before calling BLI_path_join. Remove since it's not needed and makes it read as if the function might not initialize the output argument.
2019-12-17Cleanup: use snake case variable & function namesCampbell Barton
2019-12-17Cleanup: conform header guards to Blender's styleCampbell Barton
2019-12-17Cleanup: split smoke drawing out into it's own fileCampbell Barton
gpu_draw.c had generic sounding utility functions which were specific to smoke drawing. Split into it's own file so the functionality is clearly separated.
2019-12-17Cleanup: redundant struct declarationsCampbell Barton
2019-12-17Cleanup: sort struct declarationsCampbell Barton
2019-12-17Cleanup: sort file listsCampbell Barton