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-11-27Merge w/ trunk: r52086-r52534 (As with last time, the game engine was not ↵soc-2012-swiss_cheeseJason Wilkins
merged)
2012-11-18style cleanup: if's on the same line.Campbell Barton
2012-11-12Merge w/ trunk: r51141-52085 (Important Note: gameengine and blenderplayer ↵Jason Wilkins
were not merged due to complex differences)
2012-11-08Bugfix #29072 (Color pickers don't close properly when moving the mouse away)Ton Roosendaal
This rewinds the fix for revision 50483. - the removed code there (as comment said) closes menus on hoovering over another button in panels. Is unfinished feature to allow quick inspecting menus by mouse-hold going over menu popup buttons. - It added yet another check for closing menus - should be done with ->saferct - The actual bug was simple; the block flag with UI_BLOCK_MOVEMOUSE_QUIT was accidentally cleared for colorpickers.
2012-10-31Fix #31482: menu with scrollers when window is too small, didn't auto scrollBrecht Van Lommel
when using the arrow keys or mouse wheel to activate the next item.
2012-10-31style cleanup and correct own invalid comment.Campbell Barton
2012-10-31UI: fix for menu scrolling when window is too small. It was not working wellBrecht Van Lommel
with arbitrary button layouts like multi column menus, because it was making assumptions about position of previous/next buttons which doesn't work in general.
2012-10-27use min/max inline functions where MIN2/MAX2 were doing type conversion.Campbell Barton
2012-10-26fix [#30087] operator_context is different for popup and submenu's *TODO, ↵Campbell Barton
after 2.62* having context different for menu vs submenu is quite confusing, now they are both: WM_OP_INVOKE_REGION_WIN this changes WM_menu_invoke behavior.
2012-10-26style cleanupCampbell Barton
2012-10-25fix [#32938] The Splash Screen doesn't show up correctly .....Campbell Barton
applying window clipping to the splash on startup gave strange/annoying problems.
2012-10-25Fix #30940: layout.prop_search() item not drawing correct inside menus.Brecht Van Lommel
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-14style cleanupCampbell Barton
2012-10-07Merge w/ trunk: r50097-r51140 (also, I got ahead of myself and fixed a lot ↵Jason Wilkins
of warnings before committing)
2012-10-05UI: buttons that open menus now align to the menu rather than looking ↵Brecht Van Lommel
disconnected. Also fixed some cases where the menu was offset 1 or 2 pixels wrong, though not quite all of them, still off by 1 pixel sometimes. http://www.pasteall.org/pic/show.php?id=38478
2012-09-28code cleanup: correct spellingCampbell Barton
2012-09-26Correction to svn rev50845Sergey Sharybin
Disable color picker button only if color block is invoked from another popup. Only in this case color picking will fail. Valid RNA path isn't required for this, only RNA pointer in button is needed. This solves issue with missing color picking in user preferences.
2012-09-24Fix #32396: EyeDropper does nothing on "New" in Uv image editorSergey Sharybin
For now simply hide color picker button for properties which doesn't have RNA path. Trying to make color picker working would end up with design limitations like not bale to run two operators the same time. Used RNA_property_path_from_ID_check for check which is marked as slow and need to be used with care. Since this function is only called from a popup, shouldn't be a big problem.
2012-09-22revert own commit r50501 (have a better way to implement this same feature)Campbell Barton
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-16use the format attribute in more places, disable X11 options when building ↵Campbell Barton
with GHOST_SDL
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-15code cleanup: remove more invalid/paranoid NULL checks Campbell Barton
2012-09-12code cleanup: changing the INT define to an enum conflicts with INT typedef ↵Campbell Barton
on windows, use more verbose names for button pointer types. also removed some redundant flags from buttons.
2012-09-12code cleanup: use an enum for uiBut->pointype (more useful debug display of ↵Campbell Barton
members), and rename COL -> COLOR --- less confusing since the layout engine has row/col's.
2012-09-10change to auto-opening menus so the first menu item in popup menu wont auto ↵Campbell Barton
open. This way we can do predictable key-shortcut-chaining. Eg. Shift+A, M, O --- adds a metaball cone. In editmode Ctrl+V, X, A --- Assign new vertex group.
2012-09-10make alphanumeric key shortcuts work for submenu's so you can chain keys ↵Campbell Barton
together to select items in a menu. eg: 'Ctrl+V, E, S' for - Vertex, Separate, Selection
2012-09-08fix for error in own recent commit: do not hide alpha in HSV and Hex modesSv. Lockal
2012-09-02Use function pointers instead of hard-coded english button names in color ↵Sv. Lockal
picker block. This solves the problem with es/ru translations of color picker block reported by Gabriel Gazzán in Bf-translations-dev.
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-21code cleanup: use rect size macros for the interfaceCampbell Barton
2012-08-21"Pens Down" merge /w trunk r49015-r50064. Make clean patches for Google ↵Jason Wilkins
Summer of Code against trunk revision 50064. Note: The new flag LIB_LOAD_ASYNC in the GE conflicted with trunks new LIB_LOAD_SCRIPTS, so I changed the value of ASYNC. So, heads up if these values has been saved in any .blend files! Once again (see last merge note) it seems like node_draw.c had a bunch of wierd conflicts that make it look like it missed a merge or update. Not sure what is going on with that file. Other parts of the merge had some difficulty resolving proper bracket nesting in places where it seems like the merge should have gone smoothly. Maybe that was KDiff3's fault? This reduces my confidence on if bugs were not introduced.
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-20macros for rectangle center and sizeCampbell Barton
2012-08-19style cleanupCampbell Barton
2012-08-18code cleanup: use BLI rect functions for interface button and block code.Campbell Barton
2012-08-18use rctf struct for UI buttons and blocks, easier to read and means we can ↵Campbell Barton
use BLI_rctf functions.
2012-08-17fix for crash showing tooltip for NODE_OT_add_search()Campbell Barton
2012-08-08header fixup, aspect api, warning fixes, removed some minor use of display ↵Jason Wilkins
lists, lots of other misc. changes.
2012-08-01style cleanup: whitespace, also add '?' to save over popup since it wasnt ↵Campbell Barton
totally clear it was a question (user pointed this out, they thought it was just notification and lost their work).
2012-07-29add inline functions for max/min ints, good to use when the arguments are ↵Campbell Barton
function calls (we had a few of these).
2012-07-18Merged w/ Trunk: r48664-r49014Jason Wilkins
Note: draw_node.c seemed like it may have missed a previous merge, but otherwise this went smoothly.
2012-07-09UI translation from inside Blender UI: first part.Bastien Montagne
This commit reshapes a bit runtime button info getter, by adding a new uiButGetStrInfo() which accepts a variable number of uiStringInfo parameters, and tries to fill them with the requested strings, for the given button (label, tip, context, RNA identifier, keymap, etc.). Currently used mostly by existing ui_tooltip_create(), and new UI_OT_edittranslation_init operator. It also adds a few getters (to get RNA i18n context, and current language iso code). Finally, it adds to C operators needed for the py ui_translation addon: *UI_OT_edittranslation_init, which gathers requested data and launch the py operator. *UI_OT_reloadtranslation, which forces a full reload of the whole UI translation (including rechecking the directory containing mo files). For the first operator to work, it also adds a new user preferences path: i18n_branches_directory, to point to the /branch part of a bf-translation checkout.
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-06-26Merge w/ Trunk: r47143-r48302Jason Wilkins
2012-06-25Big Commit - Ported Blender/BGE to use GPU_compatibility for most drawing.Jason Wilkins
Replaces glBegin/glEnd with gpuBegin/gpuEnd Replaces client side arrays with gpuDrawArrays/gpuDrawElements/gpuDrawElements Replaces GLUquadric and other simple geometric primitives with a new primitive library Replaces display lists with the ability to save geometry buffers and invoke them with glDraw/glRepeat Not complete, there are still some places where old functions remain. Especially in test programs and external libraries. Not tested thoroughly yet! I've tested a lot, but there are still lots of regressions.
2012-06-20style cleanup: use TRUE/FALSE for ui align args.Campbell Barton