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-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!
2013-02-05fix [#34113] operator_menu_enum() - Tooltip not showing descriptionsCampbell Barton
second fix from this report which makes the menu show tips even when 'bl_property' isn't set.
2013-02-04fix [#34104] vertex color: color select bugCampbell Barton
changing the hue in a color picker on a panel when black/white was selected would fail because the hue from the previous state wasnt stored.
2013-02-04style cleanup: spaces -> tabsCampbell Barton
2013-02-02fix for glitch drawing file selector dividers (would draw apart or on top of ↵Campbell Barton
each other depending on the view)
2013-02-02style cleanupCampbell Barton
2013-02-01make WITH_HEADLESS build again.Campbell Barton
2013-02-01fix for [#33803], error was caused by sloppy coding in r53487, converting ↵Campbell Barton
trackpad to wheel events. if you moved your mouse fast over a button the event would get converted to a wheel, even if the input event wasnt a MOUSEPAN event. When Alt was held this was noticable because Alt+Wheel changes button values. added an assert to avoid this happening again.
2013-02-01code cleanup: make wmEvent's 'const' in interface code (reduces manual ↵Campbell Barton
checking that they are not modified).
2013-02-01ui_but_anim_expression_create was never returning true, even when it succeeded.Campbell Barton
2013-02-01style cleanupCampbell Barton
2013-01-31Fix #34034: keyframe display of color/curve buttons was broken after revisionBrecht Van Lommel
53132 which changed the RNA index to -1 for these. Also made it so that these buttons no longer display "Insert Single Keyframe" and only "Insert Keyframe" as you can't edit individual components here so it's only confusing.
2013-01-31Fix #33874: active UV map chooser in uv editor should not have X button as youBrecht Van Lommel
can't not have an active UV map.
2013-01-30enable continuous grab for sliders, initially this was disabled because we ↵Campbell Barton
didnt support un-grabbing at the new slider location.
2013-01-28Fix for wrong icons buffer initialization happens for cardsSergey Sharybin
without NPOT support. Was wrong stride used for memcpy leading to wrong memory writes in def_internal_icon. It's a regression since matcap commit. Should fix the following reports: - #33993: Crash on Blender startup (Vista x32) - #33996: Latest build crashes on win xp
2013-01-28Fix for a nasty glicth found by Irie Shinsuke in Freestyle branch.Bastien Montagne
Headerless panels are not supposed to be closed ever. But if user saves a blend with a stardard panel closed, then dev decides to make this panel headerless, when user open again its blend, the panel is closed and has no more header, so it becomes invisible! This commit simply checks, at draw time, that a headerless panel is never closed (and repoen it if necessary)!
2013-01-28style cleanup: also remove unneeded NULL check.Campbell Barton
2013-01-27Pack UI: Ton Roosendaal
Oops! So there was an Unpack button, hidden in the Nkey properties of Image window. This was drawn next to greyed-out buttons, didn't notice it well. I also now found the unpack() menu in editors/util, and there's an Image unpack op. Also the RNA api has an unpack! Will remove the generic unpack op, and add a sound and vfont unpack instead.
2013-01-27Very old todo: Packed file UITon Roosendaal
- The "ID" buttons (for browse images, for example) now show a Pack icon, for packed Images. Using this button allows unpack. - Pack and unpack operations now give a Info report on what happened. - Not restored yet: option to set "AutoPack".
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