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-09-19Fix T68852: Link select crashes after knife projectPhilipp Oeser
Knife project switches out of vertex selection mode, but wouldnt do this for all participating meshes. Logic in edbm_select_linked_pick would switch the viewcontext multiple times and the meshes selectmode was not in sync then, leading e.g. finding a vertex in 'unified_findnearest' (because last of the meshes selectmode was SCE_SELECT_VERTEX), but then later in 'EDBM_elem_from_selectmode' other meshes selectmode was not matching SCE_SELECT_VERTEX, leading to crash... Reviewers: campbellbarton Maniphest Tasks: T68852 Differential Revision: https://developer.blender.org/D5536
2019-09-19Cleanup: Remove redundant name checkingAntonio Vazquez
The BKE function already does this checking.
2019-09-19Fix T70009: GPencil copied layer is linked to its original layerAntonio Vazquez
As the layer and frame memory was duplicated, the pointers were connected to old data. This was solved when saved the file, but this was a bug. Also this required a duplication and clean all listbase items. Now, instead to duplicate and clear memory for layers and frames, just create a new layer and frame. This solution fix the problem, it's faster and also keeps the code cleaner.
2019-09-19Fix T70033: Crash editing keymap operatorCampbell Barton
Expanding operator names could buffer overrun.
2019-09-19Cleanup: use uint,ushort,uchar for modifiersCampbell Barton
2019-09-19Cleanup: spellingCampbell Barton
2019-09-19Cleanup: Manpage: use 'https' blender.org URL instead of 'http' one.Bastien Montagne
2019-09-19Blender manpage generator: use blender build date instead of current time.Bastien Montagne
It makes much more sense to use the build timestamp of the Blender binary used to generate that manpage, than the current time. As a bonus, when Blender building makes use of the SOURCE_DATE_EPOCH envvar (through CMake, since previous commit), this also propagate automatically to that man page. Inspired by D5756 by Bernhard M. Wiedemann (@bmwiedemann), thanks.
2019-09-19Use cmake TIMESTAMP for BUILD_DATE+TIMEBernhard M. Wiedemann
Use cmake TIMESTAMP for BUILD_DATE+TIME this simplifies code a lot and even makes it more portable to other platforms TIMESTAMP is available since cmake-2.8.11 ; blender already requires cmake>=3.5 so that is fine. Note that with CMake>=3.8, if defined, the SOURCE_DATE_EPOCH envvar will be used by CMake here. Reviewers: mont29, campbellbarton Reviewed By: mont29, campbellbarton Differential Revision: https://developer.blender.org/D5760
2019-09-18GPencil: Create blank texture only once by engineAntonio Vazquez
This texture is used for missing textures as replace. Differential Revision: https://developer.blender.org/D5845
2019-09-18Fix transforming paint curve edit points also doingPhilipp Oeser
ED_sculpt_end_transform in sculpt mode followup to rB67310ed97618, thx @mano-wii for the heads up.
2019-09-18Fix remesher operator poll functionPablo Dobarro
This commit also removes the name "voxel" from the messages because this function is now used for the voxel remesher and quadriflow. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5842
2019-09-18Fix T70006: crash when transforming paint curve edit points in sculpt modePhilipp Oeser
This was caused by rB309cd047ef46. Above commit introduced code that would skip early for sculptmode (leaving out the neccessary createTransPaintCurveVerts). Reviewers: pablodp606, jbakker, mano-wii Maniphest Tasks: T70006 Differential Revision: https://developer.blender.org/D5837
2019-09-18Fix excessive dependency graph evaluation while painting strokesBrecht Van Lommel
Particularly noticeable when vertex painting with a subsurf modifier. In some cases every sculpt or paint stroke step would evaluate the dependency graph. This should only happen for redraws. Now more selectively choose if the dependency graph should be evaluated to initialize the view context. Doing it in the view context evaluation is somewhat hidden, now it's more explicit. Differential Revision: https://developer.blender.org/D5844
2019-09-18Depsgraph: Cleanup, spelling in commentSergey Sharybin
2019-09-18Subvid: Initial support of subdiv topology querySergey Sharybin
Just some higher level functions to access topology information.
2019-09-18Subdiv: Cleanup, split function into smaller onesSergey Sharybin
2019-09-18BLI_tasks: simplify/generalize heuristic computing default chunk size.Bastien Montagne
That code is simpler and more general (not limited to some specific values of thread numbers). It still gives similar default chunk size as what we had before, but handles smoother increase steps, and higher number of threads, by keeping increasing the chunk size. No functional change expected from that commit.
2019-09-18GPencil: Fix unreported error using Grab sculpt in empty frameAntonio Vazquez
When the grab brush was used in an empty frame, a new frame was created, but as the depsgraph was no tagged, the evaluated data was wrong and the Grab hash failed.
2019-09-18GPU: AMD: Remove workaround that doesn't workmano-wii
2019-09-18Fix (unreported) missing viewport update deleting a particlePhilipp Oeser
If children hairs were displayed in particle editmode, these would not update when a particle was deleted. Reviewers: sergey Differential Revision: https://developer.blender.org/D5840
2019-09-18Fix T65816: Alembic export of procedural mesh results in a static mesh and ↵Sybren A. Stüvel
crashes The static mesh issue described in T65816 has been resolved by @Sergey in T60094. This commit fixes the last bit of the puzzle, which was two-fold: - A missing depsgraph update when setting `orig_object.data = new_mesh` from Python. Thanks @Sergey for providing the fix :) - Properly locking the interface while exporting. This prevents crashes as described in T60094. The previous approach of calling `BKE_spacedata_draw_locks()` was not enough.
2019-09-18Fix T69580: Smooth brush freezes on highpoly meshPablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D5831
2019-09-18Fix preference for file browser and new window not being savedBrecht Van Lommel
The subversion should just be bumped for cases like this, it doesn't cost anything and functioning correctly is most important.
2019-09-18Revert "UI: Open file browser in fullscreen by default"Brecht Van Lommel
This reverts commit b962aca8003de89683c87c4da348579f756b75cd. We may revert to the fullscreen file browser if it's not good enough by the time of the 2.81 release. But then it first needs some changes since the in between state now is not good enough either.
2019-09-18Fix T69984: Cursor curve Alpha doesn't display curves other than CustomPablo Dobarro
Reviewed By: jbakker Maniphest Tasks: T69984 Differential Revision: https://developer.blender.org/D5823
2019-09-18Sculpt: Split original normal into original normal and planePablo Dobarro
This allows to create different effects with some brushes that use the sculpt plane. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5818
2019-09-18UI: Open file browser in fullscreen by defaultJulian Eisel
Fullscreen as in, maximized area. This may be a temporary change until we consider the temporary window mode as working well enough. Note that you can still enable the windowed mode in the Preferences (Interface > Editors > Temporary Windows).
2019-09-18UI: Preference for file browser as fullscreen areaJulian Eisel
Addes a Preference setting to choose between opening new file browsers in a maximized area (like with the old file browser) or in a new window (like the new one).
2019-09-18UI: Move render display type to PreferencesJulian Eisel
Moves the render display type (to choose between rendering in a new window, in a fullscreen area, in an Image Editor, etc) from the scene to the preferences.
2019-09-18Refactor temp-space opening for optional fullscreen modeJulian Eisel
Will be put to use in followup commits.
2019-09-18Cleanup: minor changes to paint undoCampbell Barton
Use a shared tile freeing function.
2019-09-18Fix segfault when polling OBJECT_OT_voxel_remesh without active objectSybren A. Stüvel
The active object can be `NULL`, which causes a segfault in `BKE_object_is_in_editmode(NULL)` (and if that were made NULL-safe, the segfault would happen further down in `object_remesh_poll()`).
2019-09-18Cleanup: includes for readfile.cCampbell Barton
2019-09-17Fix T69989: Correct Mapping node min/max versioning.OmarSquircleArt
The old min/max options specified the target min/max values, they didn't act as min/max operators. So the versioning code should be adjusted accordingly. Reviewers: brecht Differential Revision: https://developer.blender.org/D5828
2019-09-17GPU: Comment incorrect assertsClément Foucault
These asserts are too simple and triggers false positive.
2019-09-17Fix T69809, T69810: sculpt gone or crashing after renderBrecht Van Lommel
Make a distinction between flush sculpt changes for rendering, and forcing sculpt data structures to be rebuilt after mesh changes. Also don't use PBVH for renders.
2019-09-17GPU: Fix broken assertClément Foucault
2019-09-17Fix paint cursor crashPhilipp Oeser
The new paint cursor (introduced in rBe0c792135adf) could crash for 2d painting without an active object. Note there are still drawing asserts (because we are mixing 2d and 3d drawing in 'paint_draw_cursor'), but these will be handled in a seperate commit. part of T69957 Reviewers: jbakker Maniphest Tasks: T69957 Differential Revision: https://developer.blender.org/D5820
2019-09-17DRW: Refactor to support draw call batchingClément Foucault
Reviewers: brecht Differential Revision: D4997
2019-09-17Fix T69808: crash using custom Node.draw_labelBrecht Van Lommel
Start happening after 9ecbd67dfb67, but code was already wrong.
2019-09-17Fix T69687: Edit Curve cullingPhilipp Oeser
Curve edit points could disappear when the deformed curve is out of view area. Fix similar to rB0f983e854052. Reviewers: jbakker Maniphest Tasks: T69687 Differential Revision: https://developer.blender.org/D5748
2019-09-17Fix enabled dynamic size in pose brushPablo Dobarro
Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5816
2019-09-17Sculpt: Rename pinch to magnify in some brushesPablo Dobarro
Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5815
2019-09-17Fix topology automasking when starting from a boundary vertexPablo Dobarro
When starting automaking from a boundary vertex it was only updating the automasking factor in connected boundary vertices. This also fixes other similar functions like mask expand or dynamic mesh preview. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5812
2019-09-17Sculpt: Add pose origin preview to the Pose BrushPablo Dobarro
This commit makes the pose brush easier to control. It also includes a refactor of the pose brush init code. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5761
2019-09-17Fix part of T69728: drawing glitches with sculpt dynamic mesh previewBrecht Van Lommel
Depth test must default to off for drawing outside the 3D viewport and overlays like cursors.
2019-09-17Alembic: fix updating of GUI when export progress is madeSybren A. Stüvel
The `do_update` variable wasn't set after changing the `progress` variable, causing the GUI only to update on redraw (f.e. when the user was waving the mouse around).
2019-09-17Cleanup: Alembic: use pointers instead of references when passing progress ↵Sybren A. Stüvel
variables Using pointers instead of references when passing progress variables makes the C++ code more in line with the C code (as it doesn't transform pointer parameters to reference parameters). Also makes it easier to spot when a common Blender pattern is implemented incorrectly (fix will be in the next commit).
2019-09-17Fix T61313: gravity not displayed correct when changing unit scaleBrecht Van Lommel
Display of velocity and acceleration units should be affected by unit scale. Arguably the behavior of the physics simulation should be for gravity to remain constant, but such design changes are outside the scope of bug fixing. At least the UI should correctly reflect what the physics simulation will do.