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-03-23A major code update for making the DNA file specification of Freestyle settingsTamito Kajiyama
and RNA for it independent of the build flag for enabling Freestyle. Suggested by Sergey Sharybin through a code review of the branch. * Many #ifdef WITH_FREESTYLE blocks were removed to always have Freestyle-specific DNA file specification and RNA for it built in Blender. This will allow Freestyle setting survive even when a non-Freestyle build is used for loading and saving files. It is noted that operations are still conditionally built through #ifdef WITH_FREESTYLE blocks. * To this end, new blenkernel files BKE_freestyle.h and intern/freestyle.c have been added. All API functions in FRS_freestyle_config.h as well as some of those in FRS_freestyle.h were moved to the new files. Now the relocated API functions have BKE_ prefix instead of FRS_.
2013-03-19svn merge ^/trunk/blender -r55372:55392Campbell Barton
2013-03-19svn merge ^/trunk/blender -r55357:55372Campbell Barton
2013-03-18quiet warning about writing to deprecated member with gcc.Campbell Barton
2013-03-18UI fix: drawing disabled buttons now draw OK in all cases.Ton Roosendaal
The old 2.5 code was just drawing a blended rect over buttons, which looks bad in cases the backdrop is undefined. Now widget drawing code just draws everything half transparent. Much nicer! Time for textured backdrops? ;)
2013-03-18code cleanupCampbell Barton
2013-03-18Merge of the PyNodes branch (aka "custom nodes") into trunk.Lukas Toenne
PyNodes opens up the node system in Blender to scripters and adds a number of UI-level improvements. === Dynamic node type registration === Node types can now be added at runtime, using the RNA registration mechanism from python. This enables addons such as render engines to create a complete user interface with nodes. Examples of how such nodes can be defined can be found in my personal wiki docs atm [1] and as a script template in release/scripts/templates_py/custom_nodes.py [2]. === Node group improvements === Each node editor now has a tree history of edited node groups, which allows opening and editing nested node groups. The node editor also supports pinning now, so that different spaces can be used to edit different node groups simultaneously. For more ramblings and rationale see (really old) blog post on code.blender.org [3]. The interface of node groups has been overhauled. Sockets of a node group are no longer displayed in columns on either side, but instead special input/output nodes are used to mirror group sockets inside a node tree. This solves the problem of long node lines in groups and allows more adaptable node layout. Internal sockets can be exposed from a group by either connecting to the extension sockets in input/output nodes (shown as empty circle) or by adding sockets from the node property bar in the "Interface" panel. Further details such as the socket name can also be changed there. [1] http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes [2] http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/templates_py/custom_nodes.py?view=markup&root=bf-blender [3] http://code.blender.org/index.php/2012/01/improving-node-group-interface-editing/
2013-03-18Bug fix, irc:Ton Roosendaal
Curves widget error: after deleting a point, and click to add a new point, on dragging it the point flipped up 20 pixels. Was caused by changed layout and region view matrix. Solved by storing actual mousecoords instead of mapped ones.
2013-03-18Merged changes in the trunk up to revision 55357.Tamito Kajiyama
Resolved conflicts: release/datafiles/startup.blend source/blender/editors/space_nla/nla_buttons.c Also updated source/blender/blenkernel/intern/linestyle.c as a follow-up of recent changes for the use of bool.
2013-03-17use const pointers for file loading and booleans for animation system return ↵Campbell Barton
values passed as pointers.
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-17code cleanup: incorrect sized array args, remove some redundant code.Campbell Barton
2013-03-16Any ID Selector Template: ID Type dropdown now shows icon only as originallyJoshua Leung
intended Finally, I've figured out a way to get the ID Selector Template to only show the icon for the type of ID block (i.e. the intended design), instead of icon+text. This improves the layout a bit, as previously the type selector and ID-block pointer and label would all be the same sizes (roughly 1/3rd of the overall width each), which meant that there wasn't much room left to actually see which datablock had been selected. Additionally, I've fixed a few more layout types which still didn't correctly propagate the red-alert flags.
2013-03-16code cleanup: quiet some -Wshadow warnings, mix of obvious mistakes and ↵Campbell Barton
harmless global/local naming conflict.
2013-03-16fix for error pasting into a color button (tried to read its rna index of -1)Campbell Barton
2013-03-15Add the possibility to define the translation context for py rna classes ↵Bastien Montagne
(operators, panels and menus). Thanks to Campell and Brecht for the reviews!
2013-03-14ui_def_but() allocating an extra byte in 'but->str' for no reason.Campbell Barton
2013-03-13Fix #34481: camera focal length and sensor size did not use units yet, now ↵Brecht Van Lommel
they do. I've added a separate camera unit type. It's a bit strange to have an exception for this but it ensures units are shown in familiar millimeters and it also ensures backwards compatibility.
2013-03-13Fix wrong use of enum in UI code to reactive button on mouse over, this workedBrecht Van Lommel
only by accident.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-13style cleanupCampbell Barton
2013-03-12Patch [#34373] Use i18n monospace font in Text editor and Python consoleIrie Shinsuke
This patch allows Blender to display i18n monospace font in the text editor and the Python interactive console. Wide characters that occupy multiple columns such as CJK characters can be displayed correctly. Furthermore, wrapping, selection, suggestion, cursor drawing, and syntax highlighting should work. Also fixes a bug [#34543]: In Text Editor false color in comment on cyrillic To estimate how many columns each character occupies, this patch uses wcwidth.c written by Markus Kuhn and distributed under MIT-style license: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c wcwidth.c is stored in extern/wcwidth and used as a static library. This patch adds new API to blenfont, blenlib and blenkernel: BLF_get_unifont_mono() BLF_free_unifont_mono() BLF_draw_mono() BLI_wcwidth() BLI_wcswidth() BLI_str_utf8_char_width() BLI_str_utf8_char_width_safe() txt_utf8_offset_to_column() txt_utf8_column_to_offset()
2013-03-10patch [#34103] check_for_dupid.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) - more comments - more uses of bool type - define symbol for length of in_use array in check_for_dupid
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-03-08style cleanupCampbell Barton
2013-03-08Bugfix [#34560] Wrong angle for text in Horizontal mode of Properties spaceJoshua Leung
Rotation angle for text was still in degrees not radians
2013-03-07avoid calling glGetFloatv() twice when UI_RB_ALPHA is enabled with uiRoundBox()Campbell Barton
2013-03-07use bool for rna funcs.Campbell Barton
2013-03-07Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It isAntony Riakiotakis
always used in that context so we can at least avoid reverting it twice :p.
2013-03-06fix for bug where array buttons would use -1 index, causing an out-of-bounds ↵Campbell Barton
check on an array. added assert so this wont happen again.
2013-03-06Weight Painting: Added userpref for zero_weight color.Gaia Clary
2013-03-05patch [#34103] storage_bli_dir_contents.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) BLI_dir_contents no longer changes current working directory.
2013-03-05patch [#34103] dir_contents.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) - storage.c: Simplify BLI_dir_contents and make it and its internal subsidiary routines reentrant - Moved common code for disposal of a struct direntry to new routine BLI_free_filelist in storage.c, and put calls to it in interface_icons.c and filelist.c - Took out inclusion of BLI_fileops_types.h from BLI_fileops.h and put it explicitly into .c files that need it (which turned out to be only 7 of the 35 files that were including the former)
2013-03-04Fix for incorrect subpixel precision of marker when using track offsetSergey Sharybin
Issue was caused by the way how pattern sampling happens in case of anchored display: track offset is applying on search buffer which means offset is rounding to an integer. Fractional pat of offset was completely ignoring which lead to jumps in pattern buffer. This was only a visualization issue in track preview widget.
2013-03-04fix [#34490] Copy and paste floating point number fields losses precisionCampbell Barton
- copy now gets up to 6 decimal places - copy and UI float button editing now strip zeros: 1.000 -> 1.0
2013-03-03Fix for [#34509] minor theme panel color issueThomas Dinges
* panelcolors.back and panelcolors.header were missing in resources.c for the 3D View.
2013-03-03Merged changes in the trunk up to revision 54992.Tamito Kajiyama
Resolved conflicts: release/scripts/startup/bl_ui/space_view3d.py
2013-03-03move toggle drag into a UI handler (was modal operator)Campbell Barton
2013-03-01style cleanup: braces with multi-line statements, also add some comments.Campbell Barton
2013-03-01Bug fix #34334Ton Roosendaal
For 2.66a Soft shadow was drawing a complete rect, but it should skip the top edge. That allows transparent menus to still have a shadow too.
2013-03-01fix for drag-toggle, bit-buttons weren't handled which made drag toggle fail ↵Campbell Barton
for buttons in the graph editor for eg.
2013-03-01code cleanup: minor refactor of button pressed state checking, needed for ↵Campbell Barton
drag toggle fix.
2013-02-28fix [#33466] alt + mouse wheelCampbell Barton
Alt+Mouse Wheel events depended on the button under the mouse being active, else it would change the current frame. Button re-activation wasn't 100% reliable since it depends on fake mousemove events. Now keep button active when its executed if the mouse stays over it.
2013-02-28Invalid Driver Targets are now indicated appropriately (using Red Backgrounds)Joshua Leung
in the UI This is the second part of the fixes for [#32492], making it easier to identify which part of a driver (i.e. which of its targets) is causing problems A number of additional/related changes needed to be made: * Red-alert status for layouts is now propagated down to child layouts when they are created. This is needed as otherwise some of the templates used in the Graph Editor driver settings won't actually get the red-alert status flushed down to them. Also, note that this status needs to be set before any widgets are added to the layout, or else the settings aren't applied when the relevant widgets get created. * "Single Property" RNA-Paths resulting in out of bounds array access will now trigger an error status and appropriate warnings TODO: * The error tagging doesn't get applied immediately after variables are created, or their types changed * There was also some other weirdness involved when a higher-value flag (1<<10) was used for this setting, which needs further attention
2013-02-27Report #34450Ton Roosendaal
Fix for 2.66a Some editors in Blender (Like Graph) have "maxzoom" set to 0, which caused the MMB zoom sensitivity to be minimal. That used to be much more responsive, restored it to how it worked before.
2013-02-27fix for error with drag toggle which showed up with overlapping regions.Campbell Barton
2013-02-27enable grabbing for 2d view zooming, good for the graph editor.Campbell Barton
2013-02-26simplify drag toggle operator, use BLI_rctf_isect_segment between mouse ↵Campbell Barton
events rather then many calls to ui_but_find_mouse_over().
2013-02-26add define for drag toggle.Campbell Barton
2013-02-26revert some changes from own commit r54850 which broke undo for toggle ↵Campbell Barton
buttons, also make toggle buttons auto-key.