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
2013-06-28Fix #35900: image editor save multilayer EXR was not using the compressionBrecht Van Lommel
codec specified by the user.
2013-06-25Fix #35767: transforming nodes in the node editor changed the wireframe colorBrecht Van Lommel
of the active object in the 3D view. This was due to sharing a global G.moving flag to indicate that transform is active, now it's only set per transform data type so different editors don't influence each other.
2013-06-25Fix unnecessary 3D viewport redraws in various cases, in particular when editingBrecht Van Lommel
node materials. Area and region listener callbacks now get the screen and area pointers passed, so they can do more fine grained checks to see if redraw is really needed, for example depending on the 3D view drawtype.
2013-06-18use booleans for operator check functions.Campbell Barton
2013-06-15Bug fix #35749Ton Roosendaal
Image Editor: "Replace Image" operator didn't refresh icon for image.
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-27fix [#35518] UV Mapping crashes the Blender with specific image fileCampbell Barton
2 bugs here - missing NULL check in IMB_colormanagement_display_settings_from_ctx() - deadlock in draw_image_paint_helpers() Simple solution is to not draw paint helpers for render/viewer images.
2013-05-23Fix #35449: image sequences to drive e.g. particle length or used in modifiersBrecht Van Lommel
were no properly updating when rendering animations. The render engine was only updating the image user current frame on images used by material textures. Now moved the function that updates all from the editors to blenkernel level and do it on all frame changes.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-15Attempt to fix #35057 and #35372: slow texture painting performance.Brecht Van Lommel
After the paint refactoring for 2.67, the OpenGL texture was getting updated for every stroke point, rather than once for every redraw. With a small brush radius and low spacing the number of stroke points can be quite large, which might have a big performance impact depending on the graphics card / drivers. Also for 2D image paint, avoid redrawing the button panels and properties editor during painting. There is another possible cause for slowdowns with 3D texture painting which was not fixed. Projection painting is creating and destroying threads for every stroke point. Depending on the CPU/OS there might be a lot of overhead in doing that if the brush size is small.
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton
2013-05-08code cleanup: use 'const float[2]' where possible.Campbell Barton
2013-04-29Fix #35139] Output panel options are not taken into account when you safe ↵Sergey Sharybin
your render (JPG) Was caused by svn rev53181, and it worked before because image buffer didn't have quality set and in this case fall back to scene settings happened. Now or render result quality from scene settings is always used, image buffer's settings is ignored.
2013-04-26Fix a few more cases where an operator should not show in the search menu.Brecht Van Lommel
2013-04-23rna attribute consistency edits, use common prefix for booleans.Campbell Barton
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-15Fix #34978: for cycles, images displayed in the UV editor where coupled to theBrecht Van Lommel
active image texture node in the material, now this is removed and the image in the image editor is decoupled and not changed upon entering edit mode. This system caused more confusion then it's worth, changing or removing textures would modify the material but users would often not be aware of this.
2013-04-15Cycles: optimization for 3D viewport border render with heavy scenes, the OpenGLBrecht Van Lommel
render of objects could slow things down when redrawing the view each time a new sample is displayed. Now it does a partial redraw of the viewport with only the render border area, skipping OpenGL object drawing while the render is refining.
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-12Paint refactoring commit, non-disruptive (in theory :p)Antony Riakiotakis
* Fix precision overflow issue with overlay previews, * Expose alpha mask mapping to UI (still not functional but coming soon). * More overlay refactoring: Overlay now does minimal checking for texture refresh. Instead, we now have invalidation flags to set an aspect of the brush overlay as invalid. This is necessary because this way we will be able to separate and preview different brush attributes on the overlays, using different textures: These attributes/aspects are: Primary texture (main texture for sculpt, vertex, imapaint) Secondary texture (mask/alpha texture for imapaint) Cursor texture (cursor texture. It involves brush strength and curves) Modified the relevant RNA property update functions and C update callback functions to call the relevant cursor invalidation functions instead of checking every frame for multiple properties. Properties that affect this are: Image changes, if image is used by current brush, Texture slot changes, similarly Curve changes, Object mode change invalidates the cursor Paint tool change invalidates the cursor. These changes give slightly more invalidation cases than simply comparing the relevant properties each frame, but these do not occur in performance critical moments and it's a much more elegant system than adding more variables to check per frame each time we add something on the system.
2013-04-10Fix #34941: Space.draw_handler_add now supports PRE_VIEW and POST_VIEW callbacksBrecht Van Lommel
for more editors: timeline, graph, action, NLA, sequencer, image, clip.
2013-04-05Fix eternal compo refresh when having image editor with mask openedSergey Sharybin
This was a regression since 55719 and the reason is: - image_refresh() will tag combo for re-calc when editing mask. This is a feature, so you could have immediate feedback on masking and compositing while editing mask. This is done from image_refresh(). - Color management sends NC_WINDOW notifier, so the whole window is updated when changing color management settings. Image editor used to refresh space when this notifier is sent. The same notifier is sent by compositor job to redraw all possible viewers. Simple fix: don't refresh image space for NC_WINDOW, there's nothing in image_refresh() which we would want to happen on NC_WINDOW event.
2013-04-02More usage of GLSL for color managed image drawingSergey Sharybin
Uses GLSL for drawing image in Image Editor space. This requires change in image_buffer_rect_update, so original float buffer is being updated as well. This is unlikely be something bad, but will keep an eye on this change. Also no byte buffer allocation happens there, this is so because byte buffer used for display only and in case of GLSL display such allocation and partial update is just waste of time. Also switched OpenGL render from using CPU color space linearization to GLSL color space transform. Makes OpenGL rendering pretty much faster (but still slower than in 2.60). internal changes: - Added functions to setup GLSL shader for color space conversion in colormanagement.c. Currently conversion form a colorspace defined by a role to linear space is implemented. Easy to extend to other cases. - Added helper functions to glutil.c which does smarter image buffer draw (calling all needed OCIO stuff, editors now could draw image buffer with a single function call -- all the checks are done in glutil.c). - Also added helper function for buffer linearization from a given role to glutil.c. Everyone now able to linearize buffer with a single call. This function will do nothing is GLSL routines fails or not supported. And one last this: this function uses offscreen drawing, could potentially give issues on some cards, also will keep an eye on this.
2013-04-02Usability fix, for color grading.Ton Roosendaal
The Scopes and Histogram (Image editor, Sequencer) were not updating on changes in color or display settings. - Missing notifiers for refreshing - Missing code to draw correct for managed byte buffers.
2013-03-27I18n fixes for C panels & menus (we have to specify the default bpyrna ↵Bastien Montagne
context here, else we get the horrible "empty" string (as translation_context of panels is an array, not a pointer, so it's never NULL).
2013-03-26I18n: various "new data translation" fixes...Bastien Montagne
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-18Fix #34672: Image sampling line didn't use color management for byte buffersSergey Sharybin
This makes it so sample line (for all image editor, sequencer and compositor) displaying managed color for byte buffers as well. It was simply not implemented before.
2013-03-17Fix for "draw images as texture"Ton Roosendaal
Zooming in on images in Image window now shows pixels again (was filtered). Now the glaDrawPixelsTex() and glaDrawPixelsAuto() have an argument to define if images should zoom in with linear filter, or draw pixels.
2013-03-17Feature:Ton Roosendaal
Image Editor and 3D view background image now use new automatic switching for drawing GPU texture or OpenGL DrawPixels too. For large zoomed images it gives massive speedup.
2013-03-16code cleanup: quiet some -Wshadow warnings, mix of obvious mistakes and ↵Campbell Barton
harmless global/local naming conflict.
2013-03-15use bool for knife, also scons tab/space mix.Campbell Barton
2013-03-14use BLI_strncpy_rlen() rather then BLI_snprintf() when no formatting is needed.Campbell Barton
also replace sprintf with strcpy when no formatting is done.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-12Temp fix for stupid -Wformat-security issue.Bastien Montagne
Also makes more use of BLI_snprintf, and makes more consistent code acrross all "header strings" generation in transform.c.
2013-03-05patch [#34103] path_util_split_dirstring.patch, ↵Campbell Barton
path_util_split_dirstring_2.patch, path_util_split_dirstring_3.patch from Lawrence D'Oliveiro (ldo) Get rid of BLI_splitdirstring, replace with calls to BLI_split_dirfile, BLI_split_dir_part and BLI_split_file_part as appropriate.
2013-03-05patch [#34103] fileops_1.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) Add comments and use of bool type in fileops.c
2013-03-04patch [#34103] use boolean in path functions and add comments.Campbell Barton
path_util_1.patch from Lawrence D'Oliveiro (ldo)
2013-03-01Fix / Workaround for [#34474] "Record Composite" image op segfaults in ↵Thomas Dinges
compositor code * These operators have never been ported to 2.5x and therefore should not come up inside the UI. (as they are not working).
2013-02-28More UI messages fixes...Bastien Montagne
2013-02-24Some UI messages fixes...Bastien Montagne
2013-02-24Another bunch of UI translation fixes, thanks to Leon Cheung, Gabriel ↵Bastien Montagne
Gazzán and S. Lockal for spotting them!
2013-02-19minor change to own recent commit with transform fcurve centers and some ↵Campbell Barton
style edits and typo corrections.
2013-02-18Fix some popups being too small on retina display, among them the new image ↵Brecht Van Lommel
dialog.
2013-02-17Another huge bunch of UI translation fixes, mostly reported by Leon Cheung, ↵Bastien Montagne
Sv.Lockal, Gabriel Gazzán and Satoshi Yamasaki, thanks!
2013-02-13Fix color sampling info at the bottom of the image editor not respecting DPI.Brecht Van Lommel
(don't bother updating the RC for this, it's not an important fix)
2013-02-13style cleanupCampbell Barton
2013-02-12Fix render layer previous/next buttons not respecting DPI.Brecht Van Lommel
2013-02-10Scroller initialize for Image Window regions too.Ton Roosendaal
2013-02-05Fix #34040: Moving Normal Node with enabled Cycles Material Preview crashesSergey Sharybin
Issue was caused by couple of circumstances: - Normal Map node requires tesselated faces to compute tangent space - All temporary meshes needed for Cycles export were adding to G.main - Undo pushes would temporary set meshes tessfaces to NULL - Moving node will cause undo push and tree re-evaluate fr preview All this leads to threading conflict between preview render and undo system. Solved it in way that all temporary meshes are adding to that exact Main which was passed to Cycles via BlendData. This required couple of mechanic changes like adding extra parameter to *_add() functions and adding some *_ex() functions to make it possible RNA adds objects to Main passed to new() RNA function. This was tricky to pass Main to RNA function and IMO that's not so nice to pass main to function, so ended up with such decision: - Object.to_mesh() will add temp mesh to G.main - Added Main.meshes.new_from_object() which does the same as to_mesh, but adds temporary mesh to specified Main. So now all temporary meshes needed for preview render would be added to preview_main which does not conflict with undo pushes. Viewport render shall not be an issue because object sync happens from main thread in this case. It could be some issues with final render, but that's not so much likely to happen, so shall be fine. Thanks to Brecht for review!