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-08-01Cleanup: remove redundant LMB select default.Campbell Barton
2019-08-01Fix error setting the user preferencesCampbell Barton
User preferences from the startup.blend was still being used, fixing this exposed missing theme initialization, now fixed.
2019-08-01Fix error de-duplicating BLI_file_read functionsCampbell Barton
Own error in recent code de-duplication: a345f56ce3331 causing issues on Windows. Flipped argument for reading the exact size.
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-08-01Cleanup/msvc: Remove math.h from creator_signals.cLazydodo
Was never needed, looks like it was copy/pasted from creator.c spotted by @campbellbarton
2019-08-01Cleanup: Remove FMA3 Disable for msvcLazydodo
We no longer build with or support msvc2013, so this hack can be removed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5298
2019-08-01Cleanup: remove unused membermano-wii
2019-08-01Cleanup: move defaults into U_default structCampbell Barton
2019-08-01Cleanup: remove unused compute-id from preferencesCampbell Barton
2019-08-01Cleanup: use braces, unused variable, unused enumCampbell Barton
2019-07-31Fix T67951: Bone selection is broken on some Intel GPUsmano-wii
The problem is that the `glDrawArraysInstancedBaseInstance` is ignoring the last parameter. The solution is to indicate that `GLEW_ARB_base_instance` is not supported in these cases. Reviewers: fclem, brecht, jbakker Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D5383
2019-07-31Fix several undefined-behaviour-sanitizer warningsLukas Stockner
Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4222
2019-07-31UI: Correct Spacing for Short Unit NamesHarley Acheson
This adds a space between a value and its short unit name except for foot, inch, degree, arcminute, arcsecond Differential Revision: https://developer.blender.org/D5051 Reviewed by Brecht Van Lommel
2019-07-31Add operator for removing unused material slotsLukas Stockner
Reviewers: campbellbarton, brecht Reviewed By: brecht Subscribers: brecht Differential Revision: https://developer.blender.org/D4991
2019-07-31Merge per-shader SVM nodes in the main update thread to avoid locking and ↵Lukas Stockner
resizing overhead In a test file containing 1300 copies of the same shader, this reduces shader update time from 3.1 sec to 0.05 sec. Thanks to @swerner for noticing this issue. Reviewers: brecht, sergey, swerner Subscribers: swerner Differential Revision: https://developer.blender.org/D5376
2019-07-31Fix T66785: Blender Menu As Text When Main Menu CollapsedHarley Acheson
This makes the blender logo menu appear as text if 'Show Menus' is off Differential Revision: https://developer.blender.org/D5244 Reviewed by Brecht Van Lommel
2019-07-31Clarify in FloatProperty generated docs: single precision floats.Howard Trickey
At least one script writer was upset that this was not specified, as it is different from "floating point" in Python. Also, docstring for hard and soft min and max for FloatProperty was wrong, using sys.float_info.min and sys.float_info.max.
2019-07-31Revert "UI: remove checks for other popovers when switching menu"Sebastian Parborg
This reverts commit 77616571292ab1eeb9805797bfdd4525cc306923. This commit broke overlapping popovers. For example in the color management tab it would be impossible to select and of the popover alternatives as it would switch to the menu button under the cursor.
2019-07-31Fix build error after recent cleanupBrecht Van Lommel
2019-07-31Cleanup: typo in parameter name in function declarations.Bastien Montagne
2019-07-31Fix: test object_modifier_array is passing when it shouldn't.Habib Gahbiche
From D5253.
2019-07-31Fix negative booleanSergey Sharybin
Was a nice looking invention, but is obviously wrong. Is likely no function changes, since -false is like -0 which is 0 and which false. And -true is like -<non-zero> which is non-zero as well. Spotted by Sybren, thanks!
2019-07-31Fix T65837: "Zoom Axis" is not working on the node editorSebastian Parborg
We would not take into account the user "Zoom Axis" setting in certain 2D space viewports. In addition to this, the "Scale Zoom" didn't work consistently in these spaces either. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5132
2019-07-31Fix T63921: Unable to use confirm on release for keyboard shortcutsSebastian Parborg
The first issue was that we were still working around a Xorg bug that has been solved since a very long time: https://bugs.freedesktop.org/show_bug.cgi?id=22515 The second issue was that the global "confirm on release for mouse clicks" was used for keyboard shortcuts as well.
2019-07-31Cleanup: remove unused boost codeBrecht Van Lommel
2019-07-31Fix T67999: calling obj.data.materials.clear() crashes BlenderSybren A. Stüvel
The `BKE_material_clear_id()` didn't call `test_all_objects_materials()`, which caused the object and mesh material slot count to go out of sync.
2019-07-31Refactor access to dependency graphSergey Sharybin
This change ensures that operators which needs access to evaluated data first makes sure there is a dependency graph. Other accesses to the dependency graph made it more explicit about whether they just need a valid dependency graph pointer or whether they expect the graph to be already evaluated. This replaces OPTYPE_USE_EVAL_DATA which is now removed. Some general rules about usage of accessors: - Drawing is expected to happen from a fully evaluated dependency graph. There is now a function to access it, which will in the future control that dependency graph is actually evaluated. This check is not yet done because there are some things to be taken care about first: for example, post-update hooks might leave scene in a state where something is still tagged for update. - All operators which needs to access evaluated state must use CTX_data_ensure_evaluated_depsgraph(). This function replaces OPTYPE_USE_EVAL_DATA. The call is generally to be done in the very beginning of the operator, prior other logic (unless this is some comprehensive operator which might or might not need access to an evaluated state). This call is never to be used from a loop. If some utility function requires evaluated state of dependency graph the graph is to be passed as an explicit argument. This way it is clear that no evaluation happens in a loop or something like this. - All cases which needs to know dependency graph pointer, but which doesn't want to actually evaluate it can use old-style function CTX_data_depsgraph_pointer(), assuming that underlying code will ensure dependency graph is evaluated prior to accessing it. - The new functions are replacing OPTYPE_USE_EVAL_DATA, so now it is explicit and local about where dependency graph is being ensured. This commit also contains some fixes of wrong usage of evaluation functions on original objects. Ideally should be split out, but in reality with all the APIs being renamed is quite tricky. Fixes T67454: Blender crash on rapid undo and select Speculation here is that sometimes undo and selection operators are sometimes handled in the same event loop iteration, which leaves non-evaluated dependency graph. Fixes T67973: Crash on Fix Deforms operator Fixes T67902: Crash when undo a loop cut Reviewers: brecht Reviewed By: brecht Subscribers: lichtwerk Maniphest Tasks: T67454 Differential Revision: https://developer.blender.org/D5343
2019-07-31Fix: build error with MSVCLazydodo
Reviewed By: Brecht Differential Revision: https://developer.blender.org/D5381
2019-07-31Depsgraph: Fix wrong check for need-to-be-evaluatedSergey Sharybin
Was missing since 1693a5efe91.
2019-07-31Fix T67883: Time Remapping doesn't workSergey Sharybin
Was caused by 1693a5efe91.
2019-07-31Fix T67597: Texture painting: Texture slots that correspond to nodes inside ↵mano-wii
node_groups don't remain active Unlike `fill_texpaint_slots_recursive`, `rna_Material_active_paint_texture_index_update` did not search for texture nodes that are inside node groups. Reviewers: sergey, psy-fi, zeddb, brecht Subscribers: brecht Differential Revision: https://developer.blender.org/D5338
2019-07-31Fix T67808: Bright/Contrast node wrong for negative contrastPhilipp Oeser
strange nobody noticed since 2012... thx @jenkm for spotting Reviewers: brecht Subscribers: jenkm Maniphest Tasks: T67808 Differential Revision: https://developer.blender.org/D5378
2019-07-31Fix T67573: Missing offset in marker names on current frameAlessio Monti di Sopra
Differential Revision: https://developer.blender.org/D5333
2019-07-31Have CMake be more strict when optional x11 libraries are missing but enabledSebastian Parborg
Previously cmake would silently disable features that depended on certain x11 libraries if they were not found. Now we instead error out and inform the user that these are missing but optional. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5380
2019-07-31Fix T68001: Rotating vertices on the UV map by a fixed number immediately ↵Bastien Montagne
crashes Blender. Spaghetti Transform code can use same code for different kind of data. The 'stepped rotation' process is actually only useful/doable in a few cases (when we do have some real place to store rotation value, and we are using Eulers).
2019-07-31Cleanup: Remove unused functionSergey Sharybin
2019-07-31Fix T66031: Text Material Change broken.Bastien Montagne
font_to_curve code was not handling properly the case where it has nop object to check for mat indices validity. Check should just not happen then, not reset mat indices of chars to default 0 value.
2019-07-31Fix Visual Studio compatibility in writeffmpeg.cSybren A. Stüvel
This fixes an incompatibility with Visual Studio 2019 introduced in 631d5026c7bb34320c5d9b60afa5bc44b40fc5e4. It is likely caused by using `# ifdef` inside the use of the `ELEM()` macro.
2019-07-31Animation: Remove depsgraph argument from a lot of APISergey Sharybin
Use explicit boolean flag to indicate whether flush to original data is needed or not. Makes it possible to avoid confusion on whether an evaluated or any depsgraph can be passed to the API. Allows to remove depsgraph from bAnimContext as well. Reviewers: brecht Differential Revision: https://developer.blender.org/D5379
2019-07-31Animation: Remove depsgraph argument from direct keyframingSergey Sharybin
It was used to access evaluated object and pose and was done prior to implementation of flushing values back to original data for an active dependency graph. Removing the argument allows to simplify API and solve issues with accessing missing dependency graph on redo.
2019-07-31Fix: Cycles reporting incorrect number of samples in viewport renderJeroen Bakker
During viewport rendering where the viewport samples are set to 0 the UI showed 16777216 as number of samples. We should not show the number of samples when the number of viewport samples are set to 0. Differential Revision: https://developer.blender.org/D5301
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-07-31Fix error in user preferences commitCampbell Barton
Add include & initialize variable.
2019-07-31Fix T67652: editing UV vertex location does not work with multiple objectsBrecht Van Lommel
Patch contributed by matc. Differential Revision: https://developer.blender.org/D5355
2019-07-31Cleanup: remove BLO_update_defaults_userpref_blendCampbell Barton
Merge into BKE_blendfile_userdef_from_defaults
2019-07-31Preferences: don't store preferences in the startupCampbell Barton
Simplify preferences by removing the ability to load them from either the startup.blend or userpref.blend. Also simplifies updating default preferences by moving them to a struct definition.
2019-07-31UI: tweak naming in snapping popover to be "Snap with" and "Snap to"EitanSomething
To replace "Target" and "Snapping", this should be more clear. Differential Revision: https://developer.blender.org/D5242
2019-07-31Sculpt/Paint: Brush curve presetsPablo Dobarro
This patch introduces the same presets that are used for proportional editing in the brush falloff menu. The user can select any of these presets or use the regular custom falloff curve. The presets are hardcoded formulas, so the falloff curve is not used when they are active. This change improves the general feeling of the brushes and it is more convenient and simpler to use. The CUSTOM curve option should now be used in the case that an unusual deformation is needed, in other cases, the hardcoded curve presets should be the default. The smooth curve presets is a must in the grab brush, as it fixes the deformation issue with the current custom curve setting. The user may try to adjust the deformation by tweaking the curve, but it is nearly impossible to replicate this desired behavior. {F7636217} Other brushes that are included in the sculpt branch also rely on this as they need specific hardcoded falloffs to produce the desired effect. Reviewers: brecht, billreynish Reviewed By: brecht Subscribers: JulienKaspar Differential Revision: https://developer.blender.org/D5367
2019-07-31FIx T66019: Text cutoffs for descriptions in keyframe insertion (keyingsets).Bastien Montagne
2019-07-31Added BKE_mesh_clear_geometry() functionSybren A. Stüvel
This function makes it possible to clear/remove/nuke all the geometry in a mesh, allowing functions like `Mesh.from_python()` to construct a new mesh in its place. Without this function, code like in T67627 have to allocate a new Mesh datablock, fill that, and swap out the old Mesh for the new one. This introduces issues when exporting, as the new mesh could be seen by an exporter as unrelated to the old one. Shape keys are not freed by this function. Freeing those would require tagging the depsgraph for relations update, which is an expensive operation. They should be removed explicitly if necessary. Material slots are also not cleared by this function, in the same way that they are not cleared when manually removing all geometry from a mesh. The `BKE_mesh_clear_geometry()` function is available in Python as `mesh.clear_geometry()`. Reviewed by: mont29, brecht Differential Revision: https://developer.blender.org/D5373