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
2016-03-23Fix T47890: Vertex mask w/ subsurf select failsCampbell Barton
Regression in GL refactor
2016-03-04Curve/line width change broke outline drawingCampbell Barton
Partially revert e29a5ba6
2016-02-29Cleanup: Duplicated functionJulian Eisel
wmOrtho2_region_pixelspace and wmOrtho2_region_ui were doing exact same thing since rBSa86482f81cf3.
2016-02-27Fix T47582: Curve handle thickness regressionCampbell Barton
2016-02-27Fix T47586: Nurbs handle thickness regressionCampbell Barton
2016-02-27Fix T47583: Mesh wire edge thickness regressionCampbell Barton
2016-02-22Don't draw object center when outside the viewCampbell Barton
2016-02-22Fix line-width (drawing hair at wrong width)Campbell Barton
2016-02-22Fix T47517: "Show Weights" edit-mode failsCampbell Barton
Don't use materials when showing weight colors.
2016-02-20Only use outlines around faces for surface objectsCampbell Barton
Was drawing wire when mixed with non-wire nurbs.
2016-02-20Fix nurbs surface drawing using material for linesCampbell Barton
Also reduce context switching
2016-02-19Fix T47454: Line width display errorCampbell Barton
Note, there are still cases where nurbs surfaces display double line width, but this isn't a regression from previous releases.
2016-02-17Add missing glLineWidth callCampbell Barton
2016-02-14Fix T47404: Bones get draw fat line in pose modeJulian Eisel
Removed this glLineWidth call in rBe8d7a0206e99, thought it wasn't needed. Really hope this was the last line width issue for now :/
2016-02-11Fix more cases where gpencil thickness controls line thickness of 3D view ↵Julian Eisel
elements We now simple set glLineWidth to 1 once before drawing objects. This way we don't have to do it all over. Fixes T47396.
2016-02-10Fix curves drawn with wrong line widthJulian Eisel
Selected/Active curves were drawn with too high line width in Object mode.
2016-02-09Add missing gl line width for curve normalsCampbell Barton
2016-02-03Cleanup: correct comment, unused varCampbell Barton
2016-02-02Fix T46933: Bone axes letters may not be visibleCampbell Barton
Now axis letters are view aligned.
2016-01-25Smoke viewport: also draw voxel size indicator when adaptive domain isKévin Dietrich
not used. This is kinda how it was in the openvdb branch but was accidentaly put in the adaptive domain draw scope during final review.
2016-01-25Correct line-width for armaturesCampbell Barton
2016-01-23Implementation of OpenVDB as a possible cache format for smokeKévin Dietrich
simulations. This commits implements OpenVDB as an extra cache format in the Point Cache system for smoke simulations. Compilation with the library is turned off by default for now, and shall be enabled when the library is present. A documentation of its doings is available here: http:// wiki.blender.org/index.php/User:Kevindietrich/OpenVDBSmokeExport. A guide to compile OpenVDB can be found here (Linux): http:// wiki.blender.org/index.php?title=Dev:Doc/Building_Blender/Linux/ Dependencies_From_Source#OpenVDB Reviewers: sergey, lukastoenne, brecht, campbellbarton Reviewed By: brecht, campbellbarton Subscribers: galenb, Blendify, robocyte, Lapineige, bliblubli, jtheninja, lukasstockner97, dingto, brecht Differential Revision: https://developer.blender.org/D1721
2016-01-23OpenGL: combine multiple GL_LINES into fewer draw callsMike Erwin
Incidentally, one of the removed glBegin(GL_LINE) calls should’ve used GL_LINES with an S, which was a GL_INVALID_ENUM error.
2016-01-23OpenGL: call glLineWidth less oftenMike Erwin
Each LINES draw call is now responsible for its own line width. No need to set it back to its 1.0 default after every draw. This eliminates half our calls to glLineWidth , similar to last week’s work on glPointSize.
2016-01-23Math Lib: optimize segment-plane clippingCampbell Barton
Calculate the clipped min/max factor along the segment, only applying to the coordinates at the end (will give better precision too). Also make split input/output args.
2016-01-16OpenGL: pull glBegin/End out of loopMike Erwin
so that all points here are drawn between one Begin/End pair.
2016-01-16OpenGL: fixes related to GL_POINTSMike Erwin
I put all usage of GL_POINTS under the microscope. Fixed problems & optimized a couple of spots. - reduce calls to glPointSize by about 50% - draw selected & unselected vertices together for UV editor & EditMesh - draw initial gpencil stroke point the proper size - a few other smaller fixes New policy: each GL_POINTS draw call needs to set its desired point size. This eliminates half our calls to glPointSize (setting it back to its 1.0 default after every draw).
2016-01-08OpenGL: remove glPointSize hackMike Erwin
2016-01-05OpenGL: various small optimizationsMike Erwin
- set uniform colors outside of loop - replace glBegin/End with DrawRangeElements - use GL_LINES when drawing single lines
2016-01-04minor cleanupMike Erwin
2016-01-04OpenGL: image drawing tweaksMike Erwin
- no need to allocate client memory up front - delete unneeded GL calls - set default alpha test function on exit
2015-12-28Minor cleanup (paranoid checks) and fixes from coverity.Bastien Montagne
2015-12-22Fix T47003: OpenGL draw missing selection highlight when using hidden wire.Brecht Van Lommel
2015-12-16cleanup: C99Mike Erwin
- for loop scope - tighter scope on local vars - more bool - more const
2015-12-08OpenGL: split off framebuffer, shader and texture code into separate files.Brecht Van Lommel
2015-12-08OpenGL: remove non-power-of-two texture check, where even ES 2.0 does not ↵Brecht Van Lommel
need it.
2015-12-06OpenGL: rename simple shader to basic shader.Brecht Van Lommel
2015-12-06OpenGL: isolate fixed function lighting in simple shader code.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-12-06OpenGL: use simple shader for armatures.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-12-06OpenGL: pass flag to indicate of drawMappedFaces needs to use normals.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-11-28OpenGL: rename GPU_enable_material to better indicate it's binding shaders.Brecht Van Lommel
2015-11-25OpenGL: GLSL always supportedMike Erwin
In gpu lib: - GPU_glsl_support() always returns true - internal cleanup & comments Outside gpu lib: - remove check from various code, remove the “else” path - sprinkled a few C99-isms We can remove GPU_glsl_support() when BGE stops calling it.
2015-11-23Cleanup: shadowing (editors)Campbell Barton
2015-11-22Smoke drawing code cleanups (and little refactor)Kévin Dietrich
This patch contains the following changes: - the vertices and edges arrays would be assigned default values, and then reassigned new ones right away. It appears that those arrays were once global and then made local (rB06a2ee4afed4237398b69ddf253e29a730b2f9f0), so it makes sense now to initialize them with the right values. - the flame spectrum texture was created whether it was needed or not, so now it's only created if there's flame to be drawn, also split the code in a separate function. - reduce the number of parameters to the main draw function, as most of them are member of SmokeDomainSettings. - some other minor cleanups: fold multiple operations into one to get rid of one local variable, mark variables as `const` when necessary, unecessary gl draw calls, reorder the code a bit... Reviewers: campbellbarton, psy-fi Differential Revision: https://developer.blender.org/D1368
2015-11-05Draw limit & mist indicators darker for non-active camerasJulian Eisel
Darkens the colors for limit and mist indicators of non-active cameras. This makes it easier to see which indicators belong to the active camera and which don't. Useful for layouts with multiple cameras. Requested by the Caminandes team.
2015-10-22Version Bump: 2.76.2, deprecate valuesCampbell Barton
- RegionView3D.view RV3D_VIEW_PERSPORTHO only ever set on initialization, never checked for. - Lamp.type LA_YF_PHOTON from old 2.4x yafray files. Also iniitalize movie-clip + grease-pencil theme colors.
2015-10-16Cleanup: use bools for v2d, minor ws editsCampbell Barton
2015-10-153D View: support non-uniform scaled lampsCampbell Barton
D1378 by @youle Non-uniform scaled lamps now cast oval/rectangular shadows, viewport & BGE.
2015-10-11Fix warnings and remove casts by adding copy_vx_vx_uchar() functions.Brecht Van Lommel
2015-10-09Fix T46420: Segfault when instancing smoke domain.Bastien Montagne
Looks like instancing of smoke sim is not supported at all (was fake-working in 3DView in 2.74, but not rendered). But it should not crash - code was adding temp 'fromdupli' base to the delayed drawing list... Nice to backport this to 2.76 I think.