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
2012-10-05replace most uses of ED_view3d_project_float_noclip() with ↵Campbell Barton
ED_view3d_project_float_global/object
2012-10-05replace ED_view3d_project_float with ED_view3d_project_float_globalCampbell Barton
2012-10-02fix for crash in own recent masking commit with 'flood fill' operator.Campbell Barton
2012-10-02correct some include dirs not being included as SYSTEM paths in cmake.Campbell Barton
2012-10-01mask data is no longer automatically added when sculpting (except when there ↵Campbell Barton
is a multi-res modifier).
2012-09-30style cleanupCampbell Barton
2012-09-27minor change for sculpt undo, was getting the derived-mesh before calling ↵Campbell Barton
sculpt_update_mesh_elements(). also add NULL check for BKE_key_from_object(), to avoid unlikely but possible NULL pointer dereference.
2012-09-27incorrect spelling in commentsCampbell Barton
2012-09-23fix for some crashes running operators in background mode.Campbell Barton
2012-09-20code cleanup:Campbell Barton
- make view3d project names more consistent. - remove apply_project_float() its not needed. - update comments referencing an old function name. - move doxygen docs into the C file, prefer they are kept here to avoid getting out of sync with code.
2012-09-20code cleanup: remove unused macros, commet some which may be useful later - ↵Campbell Barton
or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-19Color Management: don't apply display transform on Non-Color imagesSergey Sharybin
Also don't color manage data buffers in texture painting. Makes it possible to view heights and normal maps in proper space and also paint on them without applying extra transformation.
2012-09-19code cleanup: make shape key api names consistent with our new convention.Campbell Barton
2012-09-18Fix #31539, painting in image editor while in object mode does not update ↵Antony Riakiotakis
mipmaps. While we could disable/enable mipmaps on stroke begin/end, it is a bit hacky (but worthy of consideration for later) for my taste just to paint in the image editor. Instead we generate mipmaps on the fly. Since we can update texture levels below the first only with GPU mipmapping, partial update when painting in the image editor will actually work only with GPU mipmapping from now on (which is fast enough I hope not to get any lags!).
2012-09-18code cleanup: remove vertex/weight paint's VP_COLINDEX, this feature worked ↵Campbell Barton
in the code but wasnt accessible from the UI this wasn't even accessible from the UI in 2.4x. This would only paint onto faces from the active material. however we're better off using selection here IMHO (adding support for material selection in paint mask mode). also quiet some warnings.
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-09-15Color Management, Stage 2: Switch color pipeline to use OpenColorIOSergey Sharybin
Replace old color pipeline which was supporting linear/sRGB color spaces only with OpenColorIO-based pipeline. This introduces two configurable color spaces: - Input color space for images and movie clips. This space is used to convert images/movies from color space in which file is saved to Blender's linear space (for float images, byte images are not internally converted, only input space is stored for such images and used later). This setting could be found in image/clip data block settings. - Display color space which defines space in which particular display is working. This settings could be found in scene's Color Management panel. When render result is being displayed on the screen, apart from converting image to display space, some additional conversions could happen. This conversions are: - View, which defines tone curve applying before display transformation. These are different ways to view the image on the same display device. For example it could be used to emulate film view on sRGB display. - Exposure affects on image exposure before tone map is applied. - Gamma is post-display gamma correction, could be used to match particular display gamma. - RGB curves are user-defined curves which are applying before display transformation, could be used for different purposes. All this settings by default are only applying on render result and does not affect on other images. If some particular image needs to be affected by this transformation, "View as Render" setting of image data block should be set to truth. Movie clips are always affected by all display transformations. This commit also introduces configurable color space in which sequencer is working. This setting could be found in scene's Color Management panel and it should be used if such stuff as grading needs to be done in color space different from sRGB (i.e. when Film view on sRGB display is use, using VD16 space as sequencer's internal space would make grading working in space which is close to the space using for display). Some technical notes: - Image buffer's float buffer is now always in linear space, even if it was created from 16bit byte images. - Space of byte buffer is stored in image buffer's rect_colorspace property. - Profile of image buffer was removed since it's not longer meaningful. - OpenGL and GLSL is supposed to always work in sRGB space. It is possible to support other spaces, but it's quite large project which isn't so much important. - Legacy Color Management option disabled is emulated by using None display. It could have some regressions, but there's no clear way to avoid them. - If OpenColorIO is disabled on build time, it should make blender behaving in the same way as previous release with color management enabled. More details could be found at this page (more details would be added soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Color_Management -- Thanks to Xavier Thomas, Lukas Toene for initial work on OpenColorIO integration and to Brecht van Lommel for some further development and code/ usecase review!
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-15fix [#32381] Sculpt: crash when using radius sensitivityCampbell Barton
2012-09-14fixes for NULL checks, remove some redundant checks and add some in that ↵Campbell Barton
have been removed by accident as code has been updated.
2012-09-11fix [#32531] Texturepainting always uses smooth shaded normalsCampbell Barton
2012-09-10code cleanup: use more specific argsCampbell Barton
2012-09-10code cleanup: use single define for undo string size, was 64 mostly, but 512 ↵Campbell Barton
in the UI.
2012-09-09style cleanup:Campbell Barton
also remove some redundant conversions int -> short -> int
2012-09-07Fix for order of creating mesh and filling in SculptSessionSergey Sharybin
This would use proper draw_pbvh for initially calculated PBVH. Wasn't harmful since this flag used to be updated form update_mesh_elements, but it's still better to have things consistent all over.
2012-09-07fixes for weight paint mode:Campbell Barton
- sample weight didnt work when the object was transformed. - sample weight didnt work when vertex selection was enabled. - 'All faces' option is used by weight paint mode, but there was no UI access. add ED_mesh_pick_face_vert(). which uses the face selection buffer but returns the closest vertex.
2012-09-07fix Shift+LMB select when in weight-vertex-select mode. (it was mixing up ↵Campbell Barton
vert/face index values and didnt work at all)
2012-09-07code cleanupCampbell Barton
2012-09-05code cleanup: move get_selected_defgroups into object_deform.c and make it ↵Campbell Barton
behave like similar functions, also when drawing vertex weight colors, only call this function when multi-paint is enabled.
2012-09-05code cleanup: move functions for getting defgroup arrays from objects out of ↵Campbell Barton
editors into blenkernel, since they are generally useful.
2012-09-03Fix #32461: adjusting brush strength with shift+F in image editor would showBrecht Van Lommel
the cursor too big when zoomed in. Only the size adjusment needs to follow the zoom level of the editor, others are fixed size.
2012-08-31Fix #32408: image editor does not show paint brush circle on loading a .blendBrecht Van Lommel
file that has paint mode enabled.
2012-08-25fix for type mismatch with SWAP() macro.Campbell Barton
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-22Fix #32309: missing shortcuts in sculpt mode Hide/Mask menu. Keymap poll was tooBrecht Van Lommel
strict, only has to check if we are in sculpt mode, not if the mouse is in the main region too.
2012-08-22code cleanup: use rect size macrosCampbell Barton
2012-08-18utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in ↵Campbell Barton
a linked list by a pointer.
2012-08-17fix own error in recent smoothview cleanup, also correct some cross ↵Campbell Barton
references in bmesh docs.
2012-08-14fix [#32299] 16bit float texture + 'Quick Edit' gives wrong resultCampbell Barton
2012-08-09utility functions for getting/setting rectangles for operators.Campbell Barton
2012-08-05code cleanup: minor edit - replace memset() with zero initialization, remove ↵Campbell Barton
unneeded NULL check in ibuf_sample()
2012-08-04style cleanupCampbell Barton
2012-08-02code cleanup: remove redundant float castsCampbell Barton
2012-08-01fix for assert when going from edit mode directly into sculpt mode.Campbell Barton
the tessellation faces were not pre-calculated.
2012-07-29code cleanup: replace MIN2/MAX2 with minf/maxfCampbell Barton
2012-07-29style cleanupCampbell Barton
2012-07-25match function names for clip/image spacesCampbell Barton
2012-07-25mask now draws in the image view, misc minor edits.Campbell Barton
2012-07-25image space now has a mode for view/paint/mask editing.Campbell Barton
2012-07-21use fabsf when using floats.Campbell Barton