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-01-26real fix for Logic Bricks UI smart controller (#33746)Dalai Felinto
previous commit (54102) actually reintroduces an old bug where Blender sigfaults when the sensor and controllers are not from the active object. The real fix for report #33746 is to clear the "object" property after the operator ran. I'm not sure why when I call the operator from command line the property is cleared, but not when I called it from C. Either way all should be working now.
2013-01-26bugfix for 33746 Unable to add Controller to objects correctlyDalai Felinto
(live from the global game jam Vancouver ;)
2013-01-25header cleanup, include BLI before BKE, also use bool for ntreeShaderExecTreeCampbell Barton
2013-01-24New 'X' icon in search buttons sometimes overlapped text, needs extra space.Ton Roosendaal
2013-01-23make bullet optional againCampbell Barton
2013-01-23fix for own regression since 2.4x, non-linear number button range was too ↵Campbell Barton
insensitive for int buttons.
2013-01-22style cleanupCampbell Barton
2013-01-22Matcap support in 3D Viewport.Ton Roosendaal
Full log is here: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability#Matcap_in_3D_viewport Implementation notes: - Matcaps are an extension of Solid draw mode, and don't show in other drawmodes. (It's mostly intended to aid modeling/sculpt) - By design, Matcaps are a UI feature, and only stored locally for the UI itself, and won't affect rendering or materials. - Currently a set of 16 (GPL licensed) Matcaps have been compiled into Blender. It doesn't take memory or cpu time, until you use it. - Brush Icons and Matcaps use same code now, and only get generated/allocated on actually using it (instead of on startup). - The current set might get new or different images still, based on user feedback. - Matcap images are 512x512 pixels, so each image takes 1 Mb memory. Unused matcaps get freed immediately. The Matcap icon previews (128x128 pixels) stay in memory. - Loading own matcap image files will be added later. That needs design and code work to get it stable and memory-friendly. - The GLSL code uses the ID PreviewImage for matcaps. I tested it using the existing Material previews, which has its limits... especially for textured previews the normal-mapped matcap won't look good.
2013-01-21code cleanup: minor changes, replace len_v3 with len_squared_v3 for comparison.Campbell Barton
2013-01-21code cleanup: style & warnings.Campbell Barton
2013-01-20removed extraneous glEnable(GL_BLEND)/glDisable(GL_BLEND) in ↵Jason Wilkins
ui_draw_aligned_panel
2013-01-19patch [#33923] Patch for Node Theme ColorsCampbell Barton
from Gavin Howard (gdh)
2013-01-17fix for text selection glitch, moving the mouse to the left would sometimes ↵Campbell Barton
not entirely select the start of the text.
2013-01-17use define for text offset & seletion.Campbell Barton
and no need to calloc memory for string selection.
2013-01-17Bug fix #33887Ton Roosendaal
Ancient issue: on much zoomed in UIs, text selecting or cursor placement in Text-input buttons was off.
2013-01-17add NULL check for XInput device, since its possible only one is valid.Campbell Barton
2013-01-17draw active+disabled menu-items, helps for keyboard navigation. Campbell Barton
2013-01-17fix for arrow keys being reversed in the snap menu (Ctrl+Shift+Tab)Campbell Barton
also - when expanding rna enums into existing menus - don't nest inside a row/column.
2013-01-16code cleanup:Campbell Barton
- cycles ui used 'cscene' for scene.cycles and scene.cycles_curves - style cleanup
2013-01-13draw vector icons using the the scaled width,height. The buttons window ↵Campbell Barton
context arrow wasn't scaling with the DPI.
2013-01-13fix for building with cycles.Campbell Barton
2013-01-13fix [#33846] Points of Curves in Vector Curves node can't have negative X or ↵Campbell Barton
Y values/.
2013-01-12Usability:Ton Roosendaal
Ancient annoying thing for zooming in 2d views: when a view was restricted to keep aspect ratio, it only allowed vertical or horizontal MMB-drag zooms, depending portrait or landscape size of editors. Same for trackpad and magic mouse. Now vertical zoom drag always works for editors like buttons, nodes.
2013-01-11Bug fix #33826Ton Roosendaal
Post 2.65a issue Now scrollbars appear/disappear correctly, a bug in checking if mouse clicks where on panel headers popped up. That disabled using scrollers next to a panel header.
2013-01-11fix for error in gradient theme rgba_char_args_set() use, was setting char's ↵Campbell Barton
to float values.
2013-01-09Usability fix: Ton Roosendaal
Blender's data link button (typically with menu and searching options) now has a X icon to clear its contents. Before you had to click, delete text, enter. For example: - Object Parent - Modifier objects or vertexgroups This fix saves each user 100 clicks per day, with 100k users that's 3 billion clicks per year!
2013-01-09remove uiPanelClearType(), instead redraw all windows when ↵Campbell Barton
registering/unregistering.
2013-01-09avoid having dangling panel pointers in the interface, unregistering addons ↵Campbell Barton
could leave the interface pointing to freed memory.
2013-01-09style cleanupCampbell Barton
2013-01-09drawing texture icon was multiplying the red channel by alpha, this is ↵Campbell Barton
almost certainly a typo/accident.
2013-01-08style cleanupCampbell Barton
2013-01-07Make options for background gradient more organized.Antony Riakiotakis
This was difficult to do because we group theme colours and display them together in user preferences. To make the background options more presentable and keep them grouped and separate, I needed to group the two gradient colours somehow. I added a separate ThemeSpaceGradient RNA struct as opposed to ThemeSpaceGeneric. This struct is the same as ThemeSpaceGeneric but it lacks the window background option (which does nothing now) and includes the UiGradient struct which now has both gradient colours. I modified the clear functions to use a new high colour from the gradient. Now all options appear grouped and any other editor that may use a gradient for the window background may do so. Also corrected incorrect MAIN_VERSION_ATLEAST macro, it would not detect versions correctly
2013-01-06Initialize gradient for default themeAntony Riakiotakis
2013-01-06Three fixes:Ton Roosendaal
- Old issue: on scrolling button views, tooltips could open or stayed open. - New fix: alt+swipe now changes button values again - Removed test print, from WIP code project.
2013-01-06Eyecandy feature: background gradient for 3D viewport. Enable in user ↵Antony Riakiotakis
preferences under themes->3D view->Theme Gradient Color. This is only used when use render only is not ticked and for now it may interfere with grid lines. Will investigate how to adjust contrast. Tidying up of options after advisory session on irc: Move all RNA code in Themes. Changes after merging trunk's commit that renders sky
2013-01-06Solving nasty annoyance:Ton Roosendaal
Trackpad zoom (swipe + CTRL) direction was inverted compared to MMB-drag or scrollwheel usage. In the 3D viewport it was OK, in all others not. Now the same physical gesture maps identical to zooming everywhere. Or to recap (with blender factory settings) Zooming in: - MMB-drag, move mouse towards screen - Scroll wheel, move finger towards screen - Magic Mouse, move finger towards screen - Trackpad 2-finger swipe: move fingers toward screen. To make this extra confusing: this is only consistent if you set your system to inperpret trackpad swipes as "inverted" (pan view left = swipe to right). This is a typical default, although Apple wants you to call this "Unnatural" :) Next commit will be testing on laptop if all pinch gestures zoom consistent. And following to that, a sensible user preference to map trackpad use for Blender yourself, to invert system defaults again. :) Blame and thanks goes to Sebastian Koenig, for his perseverance on getting this solved :)
2013-01-04Fixes - post 2.65aTon Roosendaal
- Trackpad swipes now behave same as scrollwheel for listview scrolls (disabling 2d view scroll when mouse over) - Added back 2.4 debug print for glGetError() Only useful for developers - to check what goes on when ogl messes up. - Made more clear print for read factory default. It's not error :)
2013-01-04code cleanup: warningsCampbell Barton
2013-01-03fix bad left aligned text when zoomed out.Campbell Barton
also minor change to cylinder_project_exec() - delay getting the MTFace.
2013-01-03correct invalid filter value being use for icon scaling.Campbell Barton
2013-01-01Further trackpad work:Ton Roosendaal
When trackpad swipes don't convert to ScrollWheel steps anymore, several hardcoded wheel events need to support swipe too. This adds swipe support to: - Menu item scroll - Search item scroll - ALT + number/slider/swatch values The amount of old style scroll "clicks" is calculated based on how trackad is being mapped to move a mouse pointer. Move it one widget unit = 1 click. The swatch option applies trackpad swipe motion in analog way.
2012-12-30style cleanup: casts, some casts had odd formatting, but very few. Style ↵Campbell Barton
checker script detects this now so easy to detect this if new code is added that doesnt follow blenders style.
2012-12-30add syntax highlighting color for symbolsCampbell Barton
2012-12-29patch [#33609] Syntax highlighting for OSL in Text EditorCampbell Barton
from Patrick Boelens (senshi). with modifications to split it into its own function. also added C style multi-line comment support /* ... */ I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block. For now it simply uses OSL syntax highlighting when the extension is '.osl'.
2012-12-29style cleanupCampbell Barton
2012-12-29Trackpad fixes & changes:Ton Roosendaal
- UV Image editor and other 2d views didn't zoom for CTRL+swipe yet. (2 finger trackpad, 1 finger mighty mouse) - Switched defaults for 3D window swiping... - default rotate view - SHIFT for translate - CTRL for zooms This makes all editors use 'swipe' like 'middle mouse', and not like scrollwheel (as in releases). This is nice for consistancy, but it still feels a bit weird... Of course users can config this in keymaps. We need a sensible default though, and to make a 2D input input device behave like middle mouse seeems more sensible than like a 1D wheel... Proposal therefore for defaults: - 1D scrollwheels: zoom in 3d, zoom in 2d, but scroll for list views. - 2D trackpads: pan for all 2d views, rotate for 3D I'll check with frequent trackpad users about this and we can freeze it before release. Give it a try :)
2012-12-29Finally fixing the issue where the bezier curve drawn while creating a link ↵Mitchell Stokes
between two logic bricks doesn't match the mouse cursor location. The issue was the last line segment for the bezier curve was not getting drawn. This is why the error increased as the curve got longer.
2012-12-29style cleanupCampbell Barton
2012-12-28Yesterday's memory free error fix in IMB_onehalf was wrong, it should Ton Roosendaal
be fixed in the icons code!
2012-12-28style cleanup: var naming for ui listCampbell Barton