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
2020-07-20Particles: support removing particles during the simulationJacques Lucke
This still cannot be controlled by the user. Currently, all particles are killed after two seconds
2020-07-20Fix T79107: Crash changing brush size in GPencil sculptAntonio Vazquez
Reviewed By: fclem Maniphest Tasks: T79107 Differential Revision: https://developer.blender.org/D8353
2020-07-20Fix signed/unsigned comparisonJacques Lucke
2020-07-20Fix T79075: Tool popup fails with experimental vertex colors enabledCampbell Barton
Register key-maps from tools in functions.
2020-07-20Fix T70455: Knife Tool failing to cut edgesGermano Cavalcante
Analyzing the cuts, the points shown in the viewport (indicating the previous and current cuts) do not correspond to the final cuts. Sometimes a point, even snapped to a vert, is a point that cuts an edge and sometimes a point, even snapped to an edge, is a point that cuts only the face. This is because the detection of snapping vertices from mouse is different from the "snap" that detects vertices that are cut. So small projection inaccuracies can result in detection failures. The solution for this is simply to confirm the cuts whose vertices indicate the `prev` ou and `cur` point. The tolerance distance does not need to be calculated in these cases.
2020-07-20Animation: Fix MSVC warning about C incompatibility of `AnimationEvalContext`Sybren A. Stüvel
Thanks @JacquesLucke for pointing this out. No functional changes.
2020-07-20BLI: add Vector/Array.fill methodsJacques Lucke
2020-07-20Refactor: Update integer type usageJacques Lucke
This updates the usage of integer types in code I wrote according to our new style guides. Major changes: * Use signed instead of unsigned integers in many places. * C++ containers in blenlib use `int64_t` for size and indices now (instead of `uint`). * Hash values for C++ containers are 64 bit wide now (instead of 32 bit). I do hope that I broke no builds, but it is quite likely that some compiler reports slightly different errors. Please let me know when there are any errors. If the fix is small, feel free to commit it yourself. I compiled successfully on linux with gcc and on windows.
2020-07-20T77086 Animation: Passing Dependency Graph to DriversSybren A. Stüvel
Custom driver functions need access to the dependency graph that is triggering the evaluation of the driver. This patch passes the dependency graph pointer through all the animation-related calls. Instead of passing the evaluation time to functions, the code now passes an `AnimationEvalContext` pointer: ``` typedef struct AnimationEvalContext { struct Depsgraph *const depsgraph; const float eval_time; } AnimationEvalContext; ``` These structs are read-only, meaning that the code cannot change the evaluation time. Note that the `depsgraph` pointer itself is const, but it points to a non-const depsgraph. FCurves and Drivers can be evaluated at a different time than the current scene time, for example when evaluating NLA strips. This means that, even though the current time is stored in the dependency graph, we need an explicit evaluation time. There are two functions that allow creation of `AnimationEvalContext` objects: - `BKE_animsys_eval_context_construct(Depsgraph *depsgraph, float eval_time)`, which creates a new context object from scratch, and - `BKE_animsys_eval_context_construct_at(AnimationEvalContext *anim_eval_context, float eval_time)`, which can be used to create a `AnimationEvalContext` with the same depsgraph, but at a different time. This makes it possible to later add fields without changing any of the code that just want to change the eval time. This also provides a fix for T75553, although it does require a change to the custom driver function. The driver should call `custom_function(depsgraph)`, and the function should use that depsgraph instead of information from `bpy.context`. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D8047
2020-07-20GPencil: Fix unreported wrong SNAP menu in Point Context menuAntonio Vazquez
It was using the mesh menu instead of GPencil one.
2020-07-20Fix T79094: GPencil Snap menu with Shift+S not pie menuAntonio Vazquez
In order to keep UI consistency, now it's a pie menu.
2020-07-20Fix T79089: Crash changing themesCampbell Barton
Regression from 2840782d8478f.
2020-07-20Fix T79077: Off-screen rendering ignores shading argumentCampbell Barton
Thumbnails used the 3D view shading mode when a camera wasn't used.
2020-07-20DRW: draw hook relationship linesCampbell Barton
This wasn't added back from 2.7x, making "Recenter Hook" applier to do nothing.
2020-07-20DRW: overlay engine support for drawing isolated pointsCampbell Barton
This matches similar functionality for drawing lines.
2020-07-20UI: use "Recalculate" instead of "Recalc"Yevgeny Makarov
2020-07-20Fix T78977 GPU: blf fonts are not gamma correctedClément Foucault
2020-07-19Particles: Make it easier to add attributes internallyJacques Lucke
2020-07-19Particles: Emit particles over timeJacques Lucke
This adds a basic internal emitter for every particle simulation. The emitter cannot be controlled by the user yet. That will come next.
2020-07-19Fix T66937: Blank view on navigation with auto-deph & large clip-endCampbell Barton
2020-07-19Fix T78624: Crash running operators from Python in background modeCampbell Barton
2020-07-19Cleanup: unused argument warningCampbell Barton
2020-07-19Cleanup: spellingCampbell Barton
2020-07-18Correct Blender version after last commitHans Goudey
c08d84748804 incremented the patch version instead of the file subversion for versioning code when adding new options. This commit resets the patch version and instead bumps the file subversion.
2020-07-18UI: Status Bar Statistics and Other OptionsHarley Acheson
Status Bar can show scene statistics, memory usage, version, etc set by context menu. Part two of T75672. Differential Revision: https://developer.blender.org/D7557 Reviewed by Julian Eisel
2020-07-18Simulation: cleanup deduplicating attribute input nodesJacques Lucke
2020-07-18Simulation: cleanup how data inputs are handledJacques Lucke
2020-07-18Simulation: deduplicate code that finds particle simulation namesJacques Lucke
2020-07-18Simulation: fix memory leakJacques Lucke
2020-07-18UV: edge-ring selection supportCampbell Barton
Matches edit-mesh edge-ring selection.
2020-07-18BMesh: utility for checking shared edge with limit argumentCampbell Barton
2020-07-18Cleanup: split UV loop select out of mouse picking functionCampbell Barton
2020-07-18UV: utility functions for sticky select settingCampbell Barton
Support setting vert/edge/face selection, using the sticky option without performing a second loop over all faces to flush selection. Existing selection code didn't take advantage of BMesh connectivity since the logic is from before BMesh was included.
2020-07-18Cleanup: spellingCampbell Barton
2020-07-18Cleanup: unused warningCampbell Barton
2020-07-18Cleanup: UV selectionCampbell Barton
Remove commented code, move penalty calculation into own function.
2020-07-18Cleanup: KnifeTool: Replace glPolygonOffset by GPU_polygon_offsetClément Foucault
2020-07-18Cleanup: GPU: Encapsulate clipDistancesClément Foucault
This also remove some non functionnal state changes that were left from legacy code.
2020-07-18Cleanup: WM: Encapsulate stereo draw buffers bindingClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glProvokingVertexClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glFrontFaceClément Foucault
2020-07-18Cleanup: GPU: Encapsulate Backface cullingClément Foucault
2020-07-18Cleanup: View3D: Encapsulate OpenGL callsClément Foucault
Removes GL_DEPTH_RANGE query as it is not changed anywhere.
2020-07-18Cleanup: GPU: Encapsulate scissor testClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glScissorClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glViewport callsClément Foucault
2020-07-18Cleanup: GPU: Wrap GL_UNPACK_ROW_LENGTH in GPU_stateClément Foucault
Also go back to default value of 0 after usage.
2020-07-18Cleanup: Sequencer: Use GPUTexture instead of opengl callsClément Foucault
2020-07-18Cleanup: WM: Use GPUTexture for radial control drawingClément Foucault
2020-07-18Cleanup: GPU: Set default GL_UNPACK_ALIGNMENT to 1Clément Foucault
Ogl default is 4 but for almost all cases, blender use tightly packed format. This avoid confusion and state change for the common case. The only case that __might__ need alignement is DDS loader (untested) so leaving this as it is.