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-02-13enforce string limits (reported by pedantic checking tools & some developers).Campbell Barton
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available.
2011-02-12fix for more warnings.Campbell Barton
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array. - use BLI_snprintf rather then sprintf where the size of the string is known. - particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
2011-02-12fix for uninitialized value in BLI_path_cwd() if PWD wasn't defined and the ↵Campbell Barton
CWD was longer then 160.
2011-02-11Bugfix #26021Ton Roosendaal
On certain buttons, and only when not in triple buffer, pressing RMB "Add shortcut" crashed Blender. NULL check missing.
2011-02-08minor edits, no functional changes.Campbell Barton
- BGE was getting MCol array and not using it. - use list lookup functions for getting constraint from pose bone. - use const char * in more places.
2011-02-04Moved Auto-Keying "Insert for KeyingSet only" option from UserPrefs toJoshua Leung
Scene (Toolsettings, i.e. alongside "layered" option for using NLA while doing auto-keying) This option makes all Auto-Keying operations use the active Keying Set to carry out keyframing operations instead of picking and choosing their own Keying Sets to use, thus cutting down on the number of unwanted keys. Warning: if the older userpref option was enabled in an old startup.blend, it may be difficult to turn this option off.
2011-02-01Icons in outliner were jittering a bit on sizing of the area.Ton Roosendaal
Subpixel position issue... when is this ever correct? :)
2011-01-30remove nan-makefilesCampbell Barton
2011-01-30Bugfix #25840Ton Roosendaal
UI bug: when a button has an open menu, the menu closed on any mouse-over of other buttons in this panel. That's not too bad, but it didn't check for whether the mouse was already inside the menu itself (respecting safety region). The bug showed error on zoomed in UI, using FPS presets, in case the menu-button was drawing aligned with other buttons. A real boundary case... :)
2011-01-26After test, offset is better to be 0.001f (test in windows nvidia)Ton Roosendaal
2011-01-26Bugfix #25756Ton Roosendaal
Outliner was drawing icons sometimes blurred. Happens when subpixel positions vary. UI code doesn't suffer this, it makes own ortho for it. This fix re-uses an un-used v2d flag (V2D_PIXELOFS_X) to force a 2d view on pixel exact positions. It's set for outliner only, I need testing feedback first.
2011-01-24fix [#25776] Crash when operator's bl_idname has more than one dotCampbell Barton
2011-01-24no functional changes.Campbell Barton
- remove unneeded casts to (char*) in interface code. - replace strcmp(.., "") with checks on the first char of the string.
2011-01-23Small fix for text input buttons:Ton Roosendaal
Number buttons, in text input mode, now also align internally like text buttons.
2011-01-23- fix problem with cmake, windows 'RelWithDebInfo' target, was giving error: ↵Campbell Barton
"ImportError: No module named _socket" because of copying wrong files over. - move test -> tests, this name is used elsewhere in lib/tests. - change interface code not to loop on a float value (clang warning), harmless, but with extreme cases an eternal loop would still be possible though unlikely.
2011-01-20Bugfix #25656Ton Roosendaal
Fixed one of oldest annoyances in Blender: the text input button! It always behaved stupid when you had clipped text in a button. Now while using arrows the cursor will move as expected, and only internally shift contents when cursor reaches edge of button.
2011-01-20Bugfix #25619Ton Roosendaal
Paint modes: toolbar showed the preview image with double scaling applied, so if UI zoomed in the image grew outside boundary.
2011-01-19Bugfix #25720Ton Roosendaal
Preview icons got lost... commit of yesterday caused it. Conflict between preview render icons, and brush icons...
2011-01-19Bugfix #25652Ton Roosendaal
Report was that move-to-layer menu failed. The real cause was more complex; had to dive deep in the dungeons of the interface code that handled undos and operators. Found several issues: - popup menus (like redo operator, color picker) executed again on a mouse-exit - far too many buttons were sending undo pushes; even worse, in the operator redo-panel each button action was pushed twice - in case operator redo-buttons have own callbacks (like layer buttons) the redo wasn't working - layerbutton menu was called without creating a proper undo/redo case Things should all work smoother now! On todo: - better definition and handling of all versions for operator menus (four types now, not fun) also: make operator "do" menu, which on first action does operator and then switches to redo-ing - bring back Undo menu, to list the undo stack and jump in it.
2011-01-19new command line option '--factory-startup' to skip reading startup.blend. ↵Campbell Barton
useful for testing with a predictable environment. also commented python benchmark prints on exit, can enable when profiling later.
2011-01-18Small fix for my last fix: ignore the `preview' flag; if either sizeNicholas Bishop
has been marked for update then do it regardless. Otherwise changing the texture type doesn't always update the brush texture preview.
2011-01-18More fixes for bug [#25649], Image editor paint icon missing untilNicholas Bishop
enter weight paint, hopefully fully fixed this time * The texture selector for brushes wasn't updating. Seems that preview images have two sizes, small (icon) and big, but it was only updating if the icon size was set to update. Now both are checked. * Also changed the previewimage arrays to use the already-existing PREVIEW_MIPMAPS define, makes it a little clearer what the arrays are for.
2011-01-16Fixed bug [#25649] Image editor paint icon missing until enter weightNicholas Bishop
paint A couple underlying issues: * Paint icon was looking only at the object mode to determine what the "current" mode is, but that gave problems when the object mode was anything other than texpaint, but 2D image paint was turned on. Fix was to also look at what space is being drawn, and only if it's in the 3D view does it look at the ob mode. * The brushes lists weren't getting filtered correctly in the same case where 2D image paint was on but a different object mode is enabled. Fixed by changing the brush rna poll to look at the paint source, rather than the object mode.
2011-01-15remove/comment unused defines.Campbell Barton
2011-01-14Todo item #19816: Wave modifier does not affect Curve PathsSergey Sharybin
Added new option for applyong modifiers on splines' points. This moves tesselation point and path would be affected by modifiers which are applied on splines' points.
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-12Patch [#25409] Changes to panels header "open/close" and "drag" zonesJoshua Leung
Submitted by: Peter Tarasenko (pit) This patch switches the screen real-estate given to the "open/close" and "drag" zones for panels. - Now, the entire header is used for resizing (open/close) panels instead of just the triangle widget being used for this. This makes it a larger target for clicking on, making it easier to do so (Fitt's Law in action!) - Dragging panels now is relegated to the "grabber" zone on the top- right corner only now. This reflects the lesser importance of panel reordering in the panel designs now over being able to open/close them.
2011-01-11bugfix [#25577] Ctrl-Z after adding Color Ramp key resets ramp.Campbell Barton
buttons would not add an undo event if the button had no tooltip/draw-string. add a fallback string 'Unknown Action' so undo's are predictable.
2011-01-09several cosmetic changes to the node-editorM.G. Kishalmi
+ changed lines connecting nodes: they now use a linewidth of 1.5px for the light foreground and 4px for the dark background. this should fix node-lines not being visible on almost black or all white backdrops. + muted nodes now also show a red tinted header if they are hidden (collapsed) + both active and selected nodes show a (now properly antialiased) highlighting frame + fixed a small error in dropshadow code resulting in a gap at borders + fixed a tiny error for the collapsing indicators (triangles) - they were not symmetrical. Ton will add proper theme colors for the node-editor in the coming days.
2011-01-09rename BKE_assert() --> BLI_assert().Campbell Barton
2011-01-09remove unused vars, comment some which look like they could be useful still. ↵Campbell Barton
have makesrna.c omit unused _data definitions for rna funcs with no args.
2011-01-08Todo items:Ton Roosendaal
- Outliner: new scroll operator, PageUp PageDown scroll entire page now. - 2D views (like buttons) PageUp PageDown now also scroll entire page. (they used same step as scrollwheel before)
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-07fix [#25520] crash when closing the properties panel in uv/image editorCampbell Barton
don't draw the image if the size is 0. Crash was actually an assert() so debug builds only, replace assert() with BKE_assert() so crash is opt in build option.
2011-01-06use ED_markers_get_first_selected() where possible, simplify ↵Campbell Barton
ed_marker_rename_exec
2011-01-06remove assignments which are unused.Campbell Barton
2011-01-05edits for BPY_extern.h functions, no functional changesCampbell Barton
- remove unused code. - BPY_run_python_script() split in 2, BPY_filepath_exec, BPY_text_exec - renamed funcs.
2011-01-03Bugfix, own collectionTon Roosendaal
Graph editor: sliding Nkey Properties to left, closing curves view entirely, was hanging in eternal loop. Caused by division by zero.
2011-01-03Todo item:Ton Roosendaal
2D view scrollers were drawing over background contents, making it look somewhat messy (like for text, nodes, fcurves). Now it clears first the back in the region edge.
2011-01-03Todo itemTon Roosendaal
Drag/drop now has a User preset for dragging threshold. Noticed this was set to 3 pixels even, made it 5 as default. Tablet owners can put it larger too :) Note: the tweak-threshold (3d win) is 10 pixels now, I think this needs another preset too, leave this for now. Also: fixed crash in filewindow: drag .blend icon and drop it. You can't test anything in Blender or you get a bug :)
2011-01-03check modifier keys are not pressed when using keys as accelerators, it ↵Campbell Barton
meant you couldn't copy the operator from a menu with Ctrl+C because C would be used to activate an item.
2011-01-03Bugfix #25471Ton Roosendaal
Scopes widgets in Image Editor (Pkey) could be dragged to zero size. Now limit is 20. Thanks Mario Kishalmi for patch!
2011-01-02Bugfix #25446 (and todo item)Ton Roosendaal
The icons for materials were always lagging or not updating at all. I also found it suspicious slow... It appeared that the icons now store a "mip level", where for every change in Materials 2 render jobs for icons were started, one for 32x32 pix, one for 96x96. The latter was cancelling out the first job almost always. Also made preview renders detect size, to set amount of tiles to be rendered. Small icons use 1 part, larger previews 16 now. All in all, behaves much smoother now! But, will also update the thread Jobs manager to allow "delayed jobs" like for icons, these are aggressively put as first in the jobs list.
2011-01-02- correct typos in comments.Campbell Barton
- move boxpack struct out of the public header.
2010-12-30revert part of Tons commit r33884.Campbell Barton
- rather then use unlink="None", just don't pass unlink as a keyword. This is more pythonic. - added an RNA flag for properties which cant be unlinked by setting to None.
2010-12-28Bugfix, irc report.Ton Roosendaal
UI name buttons with Search callback show red when item couldn't be found. The check was too simple though, since the searches also find partial matches. This caused KeyingSet browse to show red for "RotScale". Now 10 matches are stored, and each match is being checked. Still a bit weak for cases with more than 10 matches, but in that case it won't show red-alert.
2010-12-27Removing the not-working test "Submit description" from RMB Ton Roosendaal
menu on buttons.
2010-12-26Fix #25375: Vertical numbers in F-Curve Editor out-of-alignment with gridSergey Sharybin
Issue caused because previously sliders used a separate mask and now they're drawing inside of region. Thanks to AlexKu for point and Ton for checking :)