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-04-10quiet msvc/mingw compiler warnings.Campbell Barton
2011-04-06fix [#26803] Libs paths are case sensitive in windowsCampbell Barton
use case insensitive path comparison on windows: BLI_path_cmp
2011-04-06fix for cmake glew includes (tested with mingw), also made qtcreator project ↵Campbell Barton
generator work with mingw again
2011-04-05== filebrowser ==Andrea Weikert
Small fix for recent folders in filebrowser, didn't save correctly when too many folders in the list (more than the currently allowed 10), now skips the oldest entries. Reported on IRC.
2011-04-03quiet warnings.Campbell Barton
2011-03-27subsurf, derived mesh and other misc files: floats were being implicitly ↵Campbell Barton
promoted to doubles, adjust to use floats.
2011-03-23fix [#26591] File browser: select multiple files for Library append/link brokenAndrea Weikert
* added check for valid files a bit too eagerly in Rev.35654. Solved now by setting correct type for .blend file contents. Objects are now tagged as regular files, while the list (Mesh, Material, ...) (no idcode given) is tagged as directory.
2011-03-21fix for use of un-initialized pointers in file_sfile_to_operator(...) & ↵Campbell Barton
remove unused vars.
2011-03-20== file browser == Code cleanupAndrea Weikert
* Remove direct access to file->selflag in file_ops.c
2011-03-20== filebrowser == Code cleanupAndrea Weikert
* remove commented out code
2011-03-20== filebrowser == Code cleanupAndrea Weikert
* Separate out selection flags from file type flags, was bothering me since forever ;) * Also renamed ACTIVEFILE to SELECTED_FILE to better reflect actual usage in code. * Fix crash introduced with last commit, better check for valid selection
2011-03-20== file browser ==Andrea Weikert
Patch from Alexander Kuznetsov: Toggle selection rather than just extending. Implements behaviour that unintendedly was available with previously using macro operator for selection. This was removed and now the functionality is properly implemented. Patch accepted with minor changes: 1. Used enum rather than #defines and added value for removing from selection (deselect) 2. Moved if (select) outside file_select_do and improved check for whether last file in selection is actually selected. (Necessary since toggle can deselect and toggle select should still make file active) 3. Additionally fixed check in file_select_invoke to be consistent with border select.
2011-03-20== file browser ==Andrea Weikert
Patch from Alexander Kuznetsov: Real-time File Selection, thanks for the contribution. Still made a few minor changes from latest patch: 1. Rename SELECTEDFILE to HILITED_FILE, since we are not actually selecting the file, but previewing/highliting the possible selection. 2. Also made this clearer by not drawing the files as selected, but just highlight them. 3. Removed the Select/Deselect toggle when clicking on file, will be committed separately soon.
2011-03-15quiet warning for GCCCampbell Barton
2011-03-14== filebrowser ==Andrea Weikert
Cleanup of selection code. Also fixed bug where selection outside the tiles was clamped and file in last column was selected.
2011-03-12pass report list along to BLO_blendhandle_from_file(), avoid unlikely crash ↵Campbell Barton
in the append operator.
2011-03-12- BKE_idcode_iter_step() - function to step over all ID codes.Campbell Barton
- BLO_blendhandle_get_datablock_names() now takes an arg for the total items in the list, saves the caller counting.
2011-03-11Bugfix #26444Ton Roosendaal
Double click in File Window also loaded a file on double-click at a directory. The operator for it was using a Macro mistakingly here. On any double click, it selected the item first and then executed load. By default, any double click action has to rely on the first click being properly handled before. Simply removing this macro, and assign the "exec operator" to the double-click event works as expected. A double click on a directory then just shows the dir (because the exec requires an 'active' file item).
2011-03-09From the OFTL: Pad-period refreshes File browser.Ton Roosendaal
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27== UI icons ==Andrea Weikert
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-26use const char for return values of getenv().Campbell Barton
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-18Clear some compiler warnings by commenting some functions, adding others to ↵Campbell Barton
headers. left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
2011-02-17clear some unused warningsCampbell Barton
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
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 uninitialized value in BLI_path_cwd() if PWD wasn't defined and the ↵Campbell Barton
CWD was longer then 160.
2011-01-30remove nan-makefilesCampbell Barton
2011-01-30And here's a decent fix for correctly recognizing the theTon Roosendaal
.blend1 etc backups. Proves again that lazy coders only make bad code :) Implementation note: The filewindow now recoginizes .blend version backups as a special type, so filtering for .blend files themselves ignores it. However, they're recognized correctly as valid .blend files, and draw an icon as .blend file when filtering is off. Can become a distinct icon if we want...
2011-01-17== file browser ==Andrea Weikert
bring back nice shortening of filenames in thumbnail view, shortening at front and end is confusing. - adds ... at the end to indicate that the filename has been shortened - also cuts off at the end and not at both front and end now Note: maybe this can be moved into button code or so in the future, but for now should work.
2011-01-13small feature for file manager, pasting a full file path into the directory ↵Campbell Barton
field will split the dir/file. nice when you have a list of file paths in a terminal/editor and want to open one.
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-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-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.
2010-12-23use ICON_NULL define rather then 0, makes UI calls less confusing. (no ↵Campbell Barton
functional change) eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
2010-12-23rename blenderlib to blender_add_libCampbell Barton
2010-12-20Bugfix, own collection:Ton Roosendaal
File Window draw error: On start Blender in smaller sized window, a scalled down screen causes the File Window main area to draw too high, clipping off half of the top line. This case (scroll horizontal only) is not handled as view2d type.
2010-12-17Drag & drop feature:Ton Roosendaal
You now can drop a .blend inside blender window to open it. Implementation notes: - Added call to extract icon type for files. Code re-used from space_file - External files that get dropped set icon types too. Drop box polls can check for this. - Also enabled setting op-context for drop operators, this was needed to prevent filewindow to open.
2010-12-15Bugfix #25231Ton Roosendaal
File Window: text clipping was tiny bit too narrow. It was also clipping text twice even ;)
2010-12-15Centralized operator UI drawing into a new function uiLayoutOperatorButs(),Campbell Barton
Operator drawing calls were duplicated in file selector panel, redo panels, redo & dialog popups. note, uiDefAutoButsRNA's column's argument was misleading, renamed to label_align.
2010-12-08use lowercase for cmake builtin names and macros, remove contents in else() ↵Campbell Barton
and endif() which is no longer needed.
2010-12-04Fixed memory leak in thumbnail_joblist_free: last image in loadimages weren'tSergey Sharybin
freed even if it's not copied to the filelist
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-11-29include headers in cmake source, added a script to check for consistency, ↵Campbell Barton
reporting missing headers & C files. this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.