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
2010-10-02Fix #22348: disabled image editor curves on non-float images, this neverBrecht Van Lommel
worked correct, only got enabled accidentally in 2.5 port.
2010-09-28Make Cycle Render Slot actually cycle through all slots.Nathan Letwory
2010-09-17New optional operator function, check(), it takes the same arguments as ↵Campbell Barton
execute(). This runs after changing a property and allows correcting incompatible options. Returning True will redraw the UI. Currently this is used for setting the write extension when saving files, so changing the image format also corrects the extension. The same is accessible from python where its used when saving SVG/EPS/PNG files. This fixes: [#23828] obj export problems, [#23760] Exporting OBJ and filetype ending also fixed document submission operator. Now the filename in the file selector is the one used for writing this means we remove the "Save Over" popup which could be overlooked too easily. Instead display the filename field with red tint, and a note in the tooltip.
2010-09-06bugfix [#23663] relative path dind work on linuxCampbell Barton
2010-09-03Changed the error messages "Can't pack/unpack movie or image sequence." to ↵Janne Karhu
more descriptive ones "Packing/Unpacking movies or image sequences not supported." as suggested by Brecht.
2010-08-11small edits to text editor from writing a python editor extension.Campbell Barton
- rename TextLine.line -> body, ConsoleLine.line -> body - minor speedups when setting the body text, also re-allocate console lines if they are < half the length. - added option to highlight current line in the text editor.
2010-08-11bugfix [#23247] Load Image in Textures does not use a usefull pathCampbell Barton
2010-08-08remove unused includes from editors/space_*Campbell Barton
2010-08-03build options to disable image formats WITH_CINEON, WITH_HDR.Campbell Barton
- updated cmake, make & scons. - renamed CMake build options WITH_TIFF -> WITH_IMAGE_TIFF, same for DDS, OPENJPEG etc.
2010-07-26bugfix [#22994] Crash when loading this fileCampbell Barton
2010-07-23Fix wrong default color for new images in some cases.Brecht Van Lommel
2010-07-23Restore image auto refresh for image editor, code was not updated for 2.5 yet.Brecht Van Lommel
2010-07-21Fix #22870: Can't save modified non-packed images. File exist checkBrecht Van Lommel
wasn't taking into account that there could be relative paths.
2010-07-03better reporting for file i/o failier, use system error message in more ↵Campbell Barton
places: Permission Denied, No space left, File not found etc. - blend load/save uses os message. - image load gives os message. (remove check for slash at end of line, just let the os report an error) - python api load image/font/text raise errors with message (was just retuning None for image and font) - minor edits to py api errors.
2010-07-01adding image strips wasnt working, use the 'directory' component of the file ↵Campbell Barton
selector rather then the full 'filepath' to fix this. added flags for filename/filepath/directory args to WM_operator_properties_filesel().
2010-06-30add alpha option for new images (operator and function)Campbell Barton
2010-06-25- duplicating a scene now duplicates its sequence strips too.Campbell Barton
- bugfix for copying a scene with FFMPEG properties set (wasnt copying the ID properties, could crash blender) - relative path option for adding sequence strips and replaceing images.
2010-06-17Fix [#22610] Alpha problem with textureswhen Brightness > 1 or Contrast < 1Matt Ebb
* Enabled premultiplication for packed images * Added pack/unpack operator to image template * Moved brightness/contrast corrections to after de-premultiplication in image texture sampling
2010-06-14naming changesCampbell Barton
path -> filepath (for rna and operators, as agreed on with elubie) path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-06-09- added a flag argument to WM_operator_properties_filesel() currently only ↵Campbell Barton
used for relative path option. - added relative option to saving external multires data - renamed multires external functiosn to have save / pack as suffix. - added TODO's for file select operators that should support relative paths but dont. - also disable openmp on linux cross compile, mingw currently isnt linking -lgomp
2010-06-06Small fix for sample line tool. Set luma data to 0 when out of bounds.Xavier Thomas
2010-06-06- [#22492] [29159] commit breaks importing of script file that has a reload ↵Campbell Barton
to self in it broke when including the blend path in the modules filename. - new function BLI_path_basename(), matches pythons os.path.basename(). replace a number of cases where BLI_split_dirfile was being used to get the filename only.
2010-06-04Made the sample line tool of the image editor use color management if needed.Xavier Thomas
2010-05-21Blender TIFF supportMatt Ebb
* Removed dynamic linking libTIFF code and change it to static linking (built into the blender executable). Dynamic linking made things a fair bit more complicated and wasn't working at all before on OS X - the dylib didn't exist and wasn't being copied. Since TIFF is more heavily depended upon now in Blender, it makes sense to make it less 'optional' and more in line with other libraries. I've updated both CMake and scons, and CMake on OS X/64bit works fine. It's now up to other platform/build system maintainers to enable this for their respective platforms (Campbell will check it for linux). For windows, and non-64bit osx, we need static libtiff libraries in /lib. I've added options WITH_TIFF for CMake and WITH_BF_TIFF for scons, so if blender won't build because of this, you should be able to disable these options until your build system has been updated. * Bonus feature: while doing this, I added support for loading 16bit and 32bit per channel TIFFs - they get converted to Blender's float buffers. Handy for zbrush displacement maps!
2010-05-18Fix [#22303] bpy.ops.image.reload(); texture-button is always inactiveMatt Ebb
2010-05-06make save as copy default for renders, so artists saving with F3 dont end up ↵Campbell Barton
with many image datablocks pointing to their Desktops
2010-04-21Save a Copy, (operator option for save as),Campbell Barton
Too many times we have images in blend files that are just saved renders.
2010-04-19image operator poll functions for reload and replace now check for a valid ↵Campbell Barton
image, but not a valid buffer.
2010-04-09Fix [#21949] View center seg faultMatt Ebb
Operator needed a better poll function
2010-04-06Patch [#21750] Add luma waveform and vectorscope to image viewMatt Ebb
by Xavier Thomas This adds the waveform monitor and vectorscope to the image editor 'scopes' region, bringing it inline (plus a bit more) with sequence editor functionality, and a big step closer to the end goal of unifying the display code for image/ comp/sequence editor. It's non-intrusive, using the same code paths as the histogram. There's still room for more tweaks - I modified the original patch, changing the openGL immediate mode drawing of the waveform display to vertex arrays for speed optimisation. Xavier can look at doing this for the vectorscope now too. Thanks very much Xavier!
2010-04-04Added a new 'straight line' gesture type that can be used in any operator.Matt Ebb
Use this for image editor Line Sample tool, rather than custom modal operator/ custom drawing.
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-23rna/py-api fix.Brecht Van Lommel
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument. next commit will make order of arguments consistant (currently only changed order that rna wrapped). (commit 27674 by Campbell from render25 branch)
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-17Fix: Incorrect alpha values were displayed when sampling a float image in ↵Matt Ebb
the image editor, reported in IRC by kahr-alpha
2010-03-12Fixed [#21558] ctrl+c a material color and ctr+v it into new texture color ↵Matt Ebb
results in darker color
2010-03-09rename some functions to use easier to understand names.Campbell Barton
'BLI_makestringcode' --> 'BLI_path_rel' 'BLI_convertstringcwd' --> 'BLI_path_cwd' 'BLI_convertstringframe' --> 'BLI_path_frame' 'BLI_convertstringframe_range' --> 'BLI_path_frame_range' 'BLI_make_cwdpath' --> 'BLI_path_cwd'
2010-03-09added relative path option for image load and save, relative path option ↵Campbell Barton
from the userprefs wasnt being used.
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-13Added support for animated texture draw, GLSL textures.Ton Roosendaal
Note, this is not like GE ffmpg, but Blender Image Texture display for GLSL materials. Speed can be disappointing, use smaller images for realtime edits.
2010-02-12correct fsf addressCampbell Barton
2010-02-09J-key render switching back, now with 10 slots.Brecht Van Lommel
Implementation note: this was done by giving each Render a slot number, and for every slot a new Render will be created. Not sure if this is ideal, but it ensures that all passes, render info, etc are separate so you can also compare render layers and passes, in 2.4x only whatever it was currently displaying was backed up.
2010-02-01Renamed the FILE_OPEN option for the file browser to FILE_OPENFILE to ↵Joshua Leung
cleanup compiler warnings about redefined definitions (mingw)
2010-01-31- hash characters in the path would confuse the output file name and not add ↵Campbell Barton
numbers to it (when rendering animations). - added an option to BLI_convertstringframe and BLI_convertstringframe_range to add digits if not found. - removed BLI_convertstringframe where its obviously not needed - such as loading movies and sounds.
2010-01-27[#20728] "Export UV Layout" overwrites existing files (without feedback)Matt Ebb
The 'save over' popup was only appearing based on a string comparison of the operator name ("Save"). Changed this to use a hidden operator property: "check_existing". Python operators must have this property for the file selector confirmation too. This property can also be set to false, to prevent checking for existing files, useful in the File->Save menu item to prevent the dangerously missable confirmation popup.
2010-01-22Cleaned up some printfs in editors/ - converted some to reports, hid others ↵Matt Ebb
behind G_DEBUG.
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-11Multitouch trackpad 2 fingers gestures implementationDamien Plisson
- 2 fingers scroll (MOUSEPAN / GHOST_kTrackpadEventScroll event) pans/scrolls the view - 2 fingers pinch (MOUSEZOOM / GHOST_kTrackpadEventMagnify event) zooms the view And in 3D view: - alt + 2 fingers scroll rotates the view - 2 fingers rotation (MOUSEROTATE / GHOST_kTrackpadEventRotate) orbits the view. The implementation uses a new GHOST event type: GHOST_kEventTrackpad, that is then dispatched as Blender MOUSEPAN, MOUSEZOOM or MOUSEROTATE events. This is currently fully implemented for OSX (GHOST Cocoa fires the new events), with auto-detection of the source peripheral, so that a regular mouse still sends MOUSEWHEEL events.