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
2011-11-05use (const char*) rather than (char*) where possible.Campbell Barton
also removed some unused function definitons.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-05-16LCMS code removed, was an experiment but never finished.Brecht Van Lommel
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-04-23quiet some clang warnings & fix for bugs in exceptional cases.Campbell Barton
- ghost C api, BLI_get_folder_version() could assign garbage values. - pointcache ptcache_find_frames_around() had a superfluous NULL check which would have crashed anyway if actually NULL.
2011-04-23Color info in node editor backdrop now supports color management.Lukas Toenne
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-20Upgrade for pixel color info in image editor and compositor backdrop. Next ↵Lukas Toenne
to the RGB color values there is now a small rectangle displaying the actual color under the mouse cursor. In addition to that the HSV and luminance values are also displayed.
2011-04-04noticed image color info text was impossible to read at 25% alpha with some ↵Campbell Barton
images, set alpha level higher.
2011-03-27subsurf, derived mesh and other misc files: floats were being implicitly ↵Campbell Barton
promoted to doubles, adjust to use floats.
2011-03-27object/paint/misc-files: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats. - also UV angle stretching was using radians->deg which wasn't needed.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-26Sampling float colors in Image Editor only showed 3 digits precision.Ton Roosendaal
Let's make it four! :)
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-15fix for own error with image info display, also dont draw if the mouse is ↵Campbell Barton
outside the image.
2011-02-12fix for more warnings.Campbell Barton
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array. - use BLI_snprintf rather then sprintf where the size of the string is known. - particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
2011-01-31Changed alpha blending mode for image editor and node previews. This was ↵Lukas Toenne
using the sum of the image and alpha-faded background, leading to almost-white transparent areas. New code uses correct GL_SRC_ALPHA for the source image.
2011-01-17Bugfix #25657Ton Roosendaal
Three code fixes for 1 report. User experienced crashes while painting on float buffer + having preview renders on. - Texture Nodes: Image was re-allocated without using proper thread lock - Paint code: old convention to free the byte rect from a float image as signal to re-create now is a proper flag. This keeps image memory unchanged. Nice for render. - Imbuf: call to make a byte rect from float was freeing mipmaps unnecessary.
2011-01-17misc maintenance changesCampbell Barton
- metaball tessellation functuion was calculating density when it didn't need to. - image drawing was using a float as a loop counter, in extreme cases this could cause an infinite loop. - remove/comment unused vars.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-15Bugfix #25235Ton Roosendaal
Image Editor: paint mode, use clone image, always showed. Now it hides clone when paint is disabled.
2010-12-10Change the BLF_aspect function to handle 3d text.Diego Borghetti
This is need to properly handle 3d text (dalai work on GE), before the BLF_aspect only take one argument, and the result was a call to: glScalef(aspect, aspect, 1.0) Now the three value are store in the font (x, y and z) and also need to be enable using BLF_enable(BLF_ASPECT). By default all the code that don't have BLF_ASPECT enable work with a scale of 1.0 (so nothing change to the current UI). I also remove all the call of BLF_aspect(fontid, 1.0) found in the editors, because is disable by default, so no need any more. Campbell the only thing to check is the python api, right now I modify the api to from: BLF_aspect(fontid, aspect) to: BLF_aspect(fontid, aspect, aspect, 1.0) This is to avoid break the api, but now you need add the BLF_ASPECT option to the function py_blf_enable and in some point change py_blf_aspect to take 3 arguments.
2010-12-02use fixed width fonts for image stat display.Campbell Barton
2010-10-14remove unused args or tag as unused for image and screen editors, ↵Campbell Barton
uiItemEnumR_string was ignoring name and icon args.
2010-10-03added len_squared_v2v2, use instead of len_v3v3 for font handle tests, also ↵Campbell Barton
fixed some warnings.
2010-08-08remove unused includes from editors/space_*Campbell Barton
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-08-04bugfix [#23173] Blender crashes on selecting display color corrected image ↵Campbell Barton
in image editor notes, - Use our own callback which doesnt exit() blender. - Hard coded 'MONOSCNR.ICM' is bad, should this be a user preference or stored per image? - imb->crect was being set to imb->rect in some cases, disable this because its possible 'rect' gets reallocated and crect becomes freed memory. - when crect cant be created draw pink checkers, so users dont get confused if color correction isnt working. (previously would draw the uncorrected image, if it didnt crash)
2010-07-22== Sculpt/Paint Fixes ==Jason Wilkins
* Fix: unify strength and size did work consistently with other paint modes * Fix: If [ and ] keys were used to resize a brush it was not possible to increase the size of the brush if it went under 10 pixels * Fix: Made interpretation of brush size consistent across all modes, Texture/Image paint interpreted brush size as the diameter while all the other modes interpret it as radius * Fix: The default spacing for vertex paint brushes was 3%, should be 10% * Fix: due to fixes to unified strength, re-enabled 'Unify Size' by default * Fix: Unified size and strength were stored in UserPrefs, moved this to ToolSettings * Fix: The setting of pressure sensitivity was not unified when strength or size were unified. Now the appropriate pressure sensitivity setting is also unified across all brushes when corresponding unification option is selected * Fix: When using [ and ] to resize the brush it didn't immediately redraw * Fix: fkey resizing/"re-strength-ing" was not working consistently accross all paint modes due to only sculpt mode having full support for unified size and strength, now it works properly. * Fix: other paint modes did expose the ability to have a custom brush colors, so I added the small bit of code to allow it. Note: I made all of the other paint mode brushes white. Note2: Actually, probably want to make the paint modes use the selected color for painting instead of a constant brush color. * I had removed OPTYPE_REGISTER from some Sculpt/Paint operators but in this commit I add them back. I'm not completely sure what this option does so I don't want to disturb it for now.
2010-04-283dview --> view3d, patch by Jonathan Smith with small corrections and changes.Campbell Barton
2010-04-04Histogram and line sample can now be resized verticallyMatt Ebb
2010-04-01Attempted fixes for render crashes on windows, still can't redo them hereBrecht Van Lommel
in a virtual machine, maybe that has some different threading behavior. Also should fix a problem with displaying render passes and multiple slots.
2010-03-28Attempt to fix #21796: render crash on windows after slots commit.Brecht Van Lommel
2010-03-28Fix for a possible deadlock with render result drawing.Brecht Van Lommel
2010-03-27Second attempt at committing the different render slot implementation. ThisBrecht Van Lommel
has a fix that hopefully solves the problem on mac/win. Also fixes #21322, render slots not working well with FSA.
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-23Added a line sampler to the histogram panel in the image space. Robert Holcomb
Patch #21712 from Xavier Thomas. now updates in real time as you pull the line.
2010-03-18Fix render info text not showing up in image editor while buildingBrecht Van Lommel
render database, due to threading fix.
2010-02-16Revert render slots commit for release, I can't find the bug or even redoBrecht Van Lommel
it myself, there will still be render slots just old implementation.
2010-02-16Render Slots: change the implementation by moving it from the render to theBrecht Van Lommel
image code, this should be clearer and makes reusing the Render struct later on easier.
2010-02-12correct fsf addressCampbell Barton
2010-01-29* Partially converted constraint template to layout engineMatt Ebb
* Removed old code
2010-01-28Fix [#20754] Histogram Not Updating, Showing Incorrect Levels, Colour ↵Matt Ebb
Management on/off leads to Crash Various internal fixes, also additional feature - can drag on the histogram to change scale (0 key to reset). Also fix [#20844] Color balance node (lift freeze)
2010-01-20Moved the image paint tool and the vertex/weight paint tool (blend mode?) Matt Ebb
to the Brush data. This now works the same way as sculpt, with named preset brushes that retain settings.
2010-01-19* Make image Histogram only update when region is visibleMatt Ebb
* Clean up some remaining code
2010-01-19Finished some work from the weekend to keep local tree clean..Matt Ebb
* Added a generic 'histogram' ui control, currently available in new image editor 'scopes' region (shortcut P). Shows the histogram of the currently viewed image. It's a baby step in unifying the functionality and code from the sequence editor, so eventually we can migrate the sequence preview to the image editor too, like compositor. Still a couple of rough edges to tweak, regarding when it updates. Also would be very nice to have this region as a partially transparent overlapping region...
2010-01-09Color management fixesMatt Ebb
Now it's a bit more robust, tagging images with profiles when they're loaded, which then get interpreted later on by conversion functions. Just Linear RGB and sRGB profiles at the moment, same as before. This commit fixes Martin's problem with EXRs and Multilayer images loading/ saving too dark, and it also makes the sequence editor work correctly with it too. Also fixes: [#19647] gamma correction with color management is reset when resetting Curve [#19454] 2.5: Dither does not work when Color management is enabled
2009-10-21Region post redraw is now split up in a view space and pixel spaceBrecht Van Lommel
part. This fixes a bug where transform help line drawing would not work with view clipping and mess up the z-buffer. This avoids the transform code having to figure out what kind of opengl state is enabled and disable it temporarily.
2009-09-30Render & Compositing Thread FixesBrecht Van Lommel
* Rendering twice or more could crash layer/pass buttons. * Compositing would crash while drawing the image. * Rendering animations could also crash drawing the image. * Compositing could crash * Starting to rendering while preview render / compo was still running could crash. * Exiting while rendering an animation would not abort the renderer properly, making Blender seemingly freeze. * Fixes theoretically possible issue with setting malloc lock with nested threads. * Drawing previews inside nodes could crash when those nodes were being rendered at the same time. There's more crashes, manipulating the scene data or undo can still crash, this commit only focuses on making sure the image buffer and render result access is thread safe. Implementation: * Rather than assuming the render result does not get freed during render, which seems to be quite difficult to do given that e.g. the compositor is allowed to change the size of the buffer or output different passes, the render result is now protected with a read/write mutex. * The read/write mutex allows multiple readers (and pixel writers) at the same time, but only allows one writer to manipulate the data structure. * Added BKE_image_acquire_ibuf/BKE_image_release_ibuf to access images being rendered, cases where this is not needed (most code) can still use BKE_image_get_ibuf. * The job manager now allows only one rendering job at the same time, rather than the G.rendering check which was not reliable.
2009-09-17Warning fixes for blenkernel and editors.Brecht Van Lommel
Note sure what to do with this one, and personally think we should avoid using macros for this kind of thing: V_GROW(edges); source/blender/editors/mesh/loopcut.c:232: warning: value computed is not used