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-12-17Fix #29569: region expander widget drawing poorly antialiased.Brecht Van Lommel
2011-12-16static functions for getting power of 2 values were being copied about too ↵Campbell Barton
much, add to the BLI_math api. - is_power_of_2_i - power_of_2_min_i - power_of_2_max_i
2011-12-13Merging r42533 through r42601 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-12fix [#29537] file/save crashes when target path isnt foundCampbell Barton
bug was that uiPupMenuSaveOver(...) could run the WM API call function which freed the operator, within the low level invoke function which kept using the freed memory. Changed uiPupMenuSaveOver(...) to only show a popup so the caller needs to check if the file exists and should be immediately written (which was done everywhere except for blend saving anyway). * added note that operators invoke/exec funcs cant call WM_operator_call(...) on themselves, ends up using freed memory. * added BLI_is_file(path), checks the file exists and isnt a directory.
2011-12-12fix for 2 crashes running operators in background mode.Campbell Barton
2011-12-09Merging r42482 through r42532 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-09Fix for #29475 broke properly updating toggle buttons in popup menus. Tweak theBrecht Van Lommel
fix a bit, not a true solution to the problem, but too close to release for bigger changes.
2011-12-07Fix #29432: Marquee Select BugSergey Sharybin
Moved tweak threshold value to user preferences This threshold might be needed to be tweaked when working with tables, i.e. to prevent tap+slight movement be treated as tweak event.
2011-12-07Use bicubic interpolation for the tracker preview. It looks fantastic, but isKeir Mierle
slower, so we may have to make this an option instead of the only choice.
2011-12-06Merging r42442 through r42457 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-05Cycles:Brecht Van Lommel
Fix #29475: remove node from properties editor crash on windows. This was a bug in the UI code, which code access removed data. Fix OpenCL still being used in a case where Experimental was disabled. Fix msvc debug warning in md5 code.
2011-12-05Object tracking; initial commitSergey Sharybin
This commit implements basis stuff needed for object tracking, use case isn't perfect now, interface also should be cleaned a bit. - Added list of objects to be tracked. Default there's only one object called "Camera" which is used for solving camera motion. Other objects can be added and each of them will have it;s own list of tracks. Only one object can be used for camera solving at this moment. - Added new constraint called "Object Tracking" which makes oriented object be moving in the save way as solved object motion. - Scene orientation tools can be used for orienting object to bundles. - All tools which works with list of tracks or reconstruction data now gets that lists from active editing object. - All objects and their tracking data are available via python api.
2011-12-04Slight optimization of track preview widget (the same approach as in tomato ↵Sergey Sharybin
branch)
2011-12-04Optimization of preview widget scaling.Sergey Sharybin
Thanks to Campbell for pointing into issues.
2011-12-04Merging r42394 through r42412 form trunk into soc-2011-tomatoSergey Sharybin
2011-12-04Fixed dark edges on preview widget sides: it was interpolating beyond the ↵Sergey Sharybin
image bounds
2011-12-04Fix [#29502] Brush texture Preview panel doesnt show Alpha checkboxThomas Dinges
* Added to the py UI file, it would require some deeper changes to have it in the c Template, can be done later. * Fixed a typo.
2011-12-04Use own bilinear interpolation function for preview widget samplingSergey Sharybin
Solves issue with image clamping, but issue with dark edge is still present
2011-12-04Switch the tracker preview area to use bilinear filtering instead of nearestKeir Mierle
neighbour. This makes it easier to align tracks.
2011-11-30UI: another tweak to panel header drawing, to get the checkboxes positioned ↵Brecht Van Lommel
right.
2011-11-29remove header text:Campbell Barton
"The Blender Foundation also sells licenses for use in proprietary software under the Blender Licens" also remove NaN references from files that have been added since blender went opensource.
2011-11-28quiet some warnings and logical errors.Campbell Barton
- curve map insert point had a nested loop which used the same value to index different arrays. - dynamic paint used ternary operator where both outcomes were the same.
2011-11-27UI: tweak to panel header padding, made region expander a bit smaller andBrecht Van Lommel
fix bug #29422, left expander drawing over adjacent editor.
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-24UI: small fix for forward compatibility, keep this style setting so openingBrecht Van Lommel
in older blender versions show correct panel header spacing still.
2011-11-242.6 Code removal:Thomas Dinges
* Deleted some #if 0 code, which was either already replaced or won't come back.
2011-11-24Fix #29306: Alt+N, Enter In Image View Does closes the dialog without executing.Sergey Sharybin
If enter is pressed outside of any button in menu, generate two menu return values: - UI_RETURN_CANCEL so button wouldn't be executed - UI_RETURN_POPUP_OK so callback associated with popup block would be executed
2011-11-22Fix for long-standing TODO item: Clicking on overlapping nodes would ↵Lukas Toenne
activate buttons below. This patch adds a new CLIP_EVENTS flag for uiBlock, which will prevent the ui_but_find_mouse_over search function from looking into "lower" uiBlocks (i.e. those further back in the list). The order of block creation for nodes has also been updated to use the z-ordering (just the nodetree->nodes list). In order for this to work, the bounding box values of the uiBlocks have to be set explicitely to fit the node size, those are usually either zero or calculated from the internal buttons.
2011-11-22image save operator now shares settings and UI with render & image out node.Campbell Barton
details: - setting format options from python isnt possible anymore since this isnt exposed via op->properties, python should use image.save() function instead. - image save UI now hides 'Relative' option when copy is selected since it has no effect. - default image depth is set to 8 or more if the image has no float buffer, otherwise its set to 32 or less. other fixes: - image new was adding an image with a filepath set to "untitled", if this file happened to exist in the current directory a save on the generated image would overwrite it, now initialize to empty path. - BKE_ftype_to_imtype was returning an invalid value if ftype==0.
2011-11-21Fix #29347: enum tooltip crash that showed up with recent changes.Brecht Van Lommel
Patch by Dan Eicher.
2011-11-20UI: fix issue with part of panels going offscreen after recent commit.Brecht Van Lommel
The code here was tricky, with ED_region_panels trying to match the complex logic in uiAlignPanelStep, now refactored the code so it's avoided.
2011-11-20UI:Brecht Van Lommel
* Add theme option to show panel header background. * Draw panel collapse widget a bit smaller. * Add theme option to draw icons muted. * Code tweak: replace U.themes.first by UI_GetTheme() calls.
2011-11-19replace fabs with fabsf where both input and output are floats.Campbell Barton
2011-11-19UI: fix issue with previous commit, could show wrong tooltip.Brecht Van Lommel
2011-11-19Fix [#29018] Problem with multi-column dorpdown lists, when scrolling is ↵Bastien Montagne
enabled: the bottom-most elements are not shown. ui_popup_block_scrolltest needs to be aware whether uiblock is flip or not, to avoid hiding irrelevant items in multi-column scrolled menus...
2011-11-19UI: small tweak to tooltips for enum menus, it wasn't very clear whichBrecht Van Lommel
description was for the property and which for the item.
2011-11-17pydrivers: 'frame' is now in the driver namespace,Campbell Barton
- no need to link to scenes when using a frame from the pydriver, this made linking rigs for eg, quite messy. - advantage that we get subframe values (where scenes from was fixed to a whole number).
2011-11-15Fix for #29165 bugfix: adding nodes from shift+A menu in node editor did ↵Brecht Van Lommel
nothing.
2011-11-15add support for python __doc__ comments in menu classes showing in the ↵Campbell Barton
tooltip, since menus are used as buttons too.
2011-11-15show tooltips for menus, currently works for operators and enum properties ↵Campbell Barton
which are can be accessed as menus from the UI (camera overlay enum for example)
2011-11-15pass a pointer to IDP_New's IDPropertyTemplate rather then a copy.Campbell Barton
2011-11-15bytestring support for py/rna - this is so py can access data whichCampbell Barton
isn't meant to be accessed as unicode text.
2011-11-15Fix #29165: Arrow keys not working correct in Compositing Node EditorSergey Sharybin
Bug is caused because of how ui_handle_menu_event works -- it makes quite tricky check in which direction movement happens depending on button type. Checked usages for uiItemV and found that it's used in node_editor only, so changed type of button used there, so ui_handle_menu_event works would detect right direction of movement.
2011-11-14minor cleanup Campbell Barton
- use NULL rather then 0 for pointers - use static functions where possible - add own includes to ensure func's and their declarations don't get out of sync.
2011-11-14fix [#29242] menus have no keyboard shortcutsCampbell Barton
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-11-11quiet -Wdouble-promotion warningsCampbell Barton
2011-11-10Dynamic Paint merge:Miika Hamalainen
Commit Dynamic Paint from "soc-2011-carrot" branch into trunk. End-user documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Modifiers/Simulation/Dynamic_Paint GSoC wiki page: http://wiki.blender.org/index.php/User:MiikaH/GSoC-2011-DynamicPaint
2011-11-10presets now work from non-redo popups,Campbell Barton
ended up having to add a new pointer into the uiBlock (which I'd rather have avoided), but setting the uiLayoutSetContextPointer(..) was complicated to properly use for submenus and popus.
2011-11-09Merge with trunk r41701soc-2011-carrotMiika Hamalainen