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
2017-10-07Cleanup: style, duplicate includesCampbell Barton
2017-09-29Merge branch 'master' into blender2.8Campbell Barton
2017-09-29Vertex Paint: Alpha SupportCampbell Barton
GSOC 2017 by Darshan Kadu, see: D2859. This is a partial merge of some of the features from the soc-2017-vertex_paint branch. - Alpha painting & drawing. - 10 new color blending modes. - Support for vertex select in vertex paint mode.
2017-09-26Cleanup: naming (GPU immediate util)Campbell Barton
2017-09-21Depsgraph and collection enable/visibilityDalai Felinto
Iterate over invisible objects too, so lamps can still lit the scene. Also, now you can use a collection to set an object to invisible, not only to visible. For example: Scene > Master collection > bedroom > furniture Scene > View Layer > bedroom (visible) > furniture (invisible) The View Layer has two linked collections, bedroom and furniture. This setup will make the furniture collection invisible. Note: Unlike what was suggested on D2849, this does not make collection visibility influence camera visibility. I will keep this as a separate patch. Reviewers: sergey Subscribers: sergey, brecht, fclem Differential Revision: https://developer.blender.org/D2849
2017-09-13Cleanup: use explicit 2d suffix for imm utilsCampbell Barton
Avoid ambiguity between 2d/3d (which were already named).
2017-08-17DwM: use batch select for vertex paint modeCampbell Barton
2017-08-16DwM: Use Batch's for drawing selectionCampbell Barton
Use mesh batch cache for mesh selection. Note that we could create the batches and free immediately so they don't take up memory. This resolves a problem where selection was limited to immediate-mode buffer size.
2017-08-16Cleanup: rename GPU gawain functionsCampbell Barton
Were using Batch_ prefix still
2017-08-16Gawain: remove GWN_batch_discard_allCampbell Barton
Use ownership flags instead.
2017-08-16Pass EvaluationContext instead of bContextCampbell Barton
2.8x branch added bContext arg in many places, pass eval-context instead since its not simple to reason about what what nested functions do when they can access and change almost anything. Also use const to prevent unexpected modifications. This fixes crash loading files with shadows, since off-screen buffers use a NULL context for rendering.
2017-08-15Cleanup/refactor: no new general arg-less macros enforcing var names please!Bastien Montagne
We do have an history of those pieces of evil in our code, would be nice to get fully rid of it, but at the very least let's not add more of them in new code. :)
2017-07-25Workaround for crash drawing face-maps after undoCampbell Barton
2017-07-21Pass EvaluationContext argument everywhereLuca Rood
Note that some little parts of code have been dissabled because eval_ctx was not available there. This should be resolved once DerivedMesh is replaced.
2017-07-11Merge branch 'master' into blender2.8Campbell Barton
2017-07-11Fix T51761: wpaint select depth limit failsCampbell Barton
Limit select fails with circle and border select. Regression in 2.76
2017-07-05Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/space_view3d/drawobject.c
2017-07-04Fix T51834: Active Object and Groups color difference imperceptibleBastien Montagne
16 was not enough here, -32 seems to give OK results.
2017-06-29Fix crash & performance regression w/ base lookupCampbell Barton
Was doing O(n^2) list lookups with blender-render drawing & transform. Also missing NULL checks would crash. Use Object.base_flag (already used by new draw manager in places) to avoid list lookup. Note, transform still performs inefficient lookups, but only for selected parents (like 2.7x), not all parents.
2017-06-19Gawain API naming refactorCampbell Barton
Use consistent prefix for gawain API names as well as some abbreviations to avoid over-long names, see: D2678
2017-06-10Manipulator Update/RefactorCampbell Barton
Sync with custom-manipulators branch - Use identifiers for properties. - Property array index access. - Remove operator from manipulators (wasn't used and will likely add in a different way).
2017-06-08Remove selection color from the baseSergey Sharybin
Use indirect access to it via object. It was already flushing from base to object, now we can avoid such flushing. Still weird to have selection color filled in by dependency graph, but now there is no synchronization going on at least.
2017-05-20Merge branch 'master' into blender2.8Campbell Barton
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-19Remove reference to WITH_LEGACY_OPENGLDalai Felinto
We only keep this as a way to get GPU_stubs to run, in case we want to do a throughout cleanup in the codebase and want code using legacy calls to fail to build.
2017-05-19Fix empty-image draw sizeCampbell Barton
Was out of sync with 2.7x.
2017-05-18Remove "Modern Viewport"Dalai Felinto
The "Modern Viewport" was an option in the Viewport panel that would use the new fancy wire frame code and some depth debugging functionality. This was introduced as a quick and dirty way to get the new drawing system showing in the viewport. Overtime we built a complete Draw Manager system, leaving this original approach deprecated which adds clutter to Blender code since it would be removed sooner or later. Note: The new fancy wireframes and related shaders (white out other objects) are still in Blender code, though you can't use them anymore. If we are to have any of those drawing options they should be integrated in the new draw manager, instead of integrated in the old drawing pipeline as it was originally coded.
2017-05-18Correct own error using u32 for back-buffer selectCampbell Barton
2017-05-17Use byte color for selection drawingCampbell Barton
Some small advantage to using 1/4 sized data-type.
2017-05-17Correct flag when drawing editmode face selectCampbell Barton
Own error in updating select code.
2017-05-05Use immediate mode for back-buffer selectionCampbell Barton
Needed so selection works with core profile.
2017-05-05Merge branch 'master' into blender2.8Campbell Barton
2017-05-05Remove redundant backbuffer/transform checkCampbell Barton
Transform no longer uses backbuffer for snap.
2017-05-04Cleanup: include the type of data in function nameCampbell Barton
Was confusing, some functions return vert or triangle data but naming wasn't very clear.
2017-05-04Use mesh draw cache for back-buffer selectionCampbell Barton
Vertex/weight paint now work with core profile, resolves T51380.
2017-05-04Remove cpackCampbell Barton
Places where it's removed are already replaced by newer logic.
2017-05-04Fix relationship lines visibility test for legacy viewportDalai Felinto
2017-04-27Add back text color for legacy drawingCampbell Barton
2017-04-27Merge branch 'master' into blender2.8Campbell Barton
2017-04-27Cleanup: remove unused matrix argCampbell Barton
2017-04-21Cleanup: move draw-cache creation from BKE to DRWCampbell Barton
Creating draw-cache should only ever be used by the draw-manager.
2017-04-21Merge branch 'master' into 28Campbell Barton
2017-04-21Store edit-font select-box lengthCampbell Barton
A little awkward to calculate when drawing.
2017-04-20Merge branch 'master' into 28Campbell Barton
2017-04-20Use reflect for calculating second normalCampbell Barton
2017-04-19No need for while-loop counting curve-normalsCampbell Barton
2017-04-16fix mistake from last commitMike Erwin
I didn't build this BGE-related code before pushing. My bad! fix for af61b5eb0c1bef93e8df1434b174944e2b40445d
2017-04-16cleanup use of immUniformColorMike Erwin
- use best function for the job - don't specify alpha if 100% - 'f' for floating point literals
2017-04-15GPU matrix: add back type checksCampbell Barton
Without this gpuGet functions would cast everything (no type or size checks and override const variables).
2017-04-15GPU Matrix API: clean up after 2D-3D unificationMike Erwin
See GPU_matrix.h & gpu_matrix.c for the important changes. Other files are mostly just updated to use the latest API. - remove unused functions, defines, enums, comments - remove "3D" from function names - init to Identity transform (otherwise empty stack) - gpuMatrixReset lets outside code return to initial state Part of T49450 Follow up to D2626 and 49fc9cff3b90