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
2009-06-092.50:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19820:HEAD Notes: * Game and sequencer RNA, and sequencer header are now out of date a bit after changes in trunk. * I didn't know how to port these bugfixes, most likely they are not needed anymore. * Fix "duplicate strip" always increase the user count for ipo. * IPO pinning on sequencer strips was lost during Undo.
2009-06-06NLA SoC: Merge from 2.5Joshua Leung
20571 to 20667
2009-06-05Blender file selector support for setting multiple selected files/dirs which ↵Campbell Barton
operators can use. This allows the sequencers Add-Image strip to work like it does in 2.4x. - as well as setting the "filename" operator property, operators can have collections called "files" and "dirs" which are set when available. - RNA_OperatorFileListElement as new collection type, its a bit redundant since each item only has a "name" property but its needed since we don't have a string array type. - the file selector now prints operators it runs. Tested with python, adding a list of images works to the sequencer works. bpy.ops.SEQUENCER_OT_image_strip_add(name="MyImages", start_frame=54, channel=2, filename="/somedir/", replace_sel=True, files=[{"name":"test1.png"}, {"name":"test2.png"}])
2009-06-052.5 filebrowserAndrea Weikert
* code cleanup: removed unused fileselect mode (type) * brought back 'hide dot files', needs proper storing of the settings still.
2009-05-31NLA SoC: Bugfixes + Improvements to 'Push Down' track-selectionJoshua Leung
* Trying to save no longer crashes in some cases when the NLA Editor was open with some data. The sanity check added in filesel.c might be able to be backported to 2.5? (Elubie, please check) * NLA-track names now get drawn with the correct colours for identifying themselves as being selected or not selected. * Now the 'push down' functionality for actions will try to add the new strip to the last NLA track, provided it has space in the range required. * When new strips are added, they will only be allowed to extrapolate before/after if they are the first (time-wise) strip for the set of NLA data per AnimData block. This stops layered strips overriding strips that occurred in earlier tracks at earlier times.
2009-05-272.5 filebrowserAndrea Weikert
- some cleanup of ugly conditional.
2009-05-262.5 MSVC projectfiles updateAndrea Weikert
- file editors/space_image/image_panels.c -> image_buttons.c (renamed) - file editors/interface/interface_templates.c added Also added small fix for crash in filebrowser.
2009-05-14Fix makefile for file browser.Diego Borghetti
2009-05-142.5 compile errors.Martin Poirier
Wrong include name (lower case) and missing include folder in scons.
2009-05-142.5 filebrowserAndrea Weikert
- drawing code cleanup - use of BLF_font in own string drawing, needs to be aligned with uiStyles still. - thumbnail scaling now done on graphics card via new glaDrawPixelsTexScaled (slightly modified glaDrawPixelsTex)
2009-05-06Big, big commit!!Diego Borghetti
1) Remove WITH_FREETYPE2 from code, so now blender always need freetype2 2) Remove the old bmfont 3) Remove ftfont and bFTGL library 4) Implement a new BLF_draw_default function for place that still need/use the old BMF api. I try to update both, scons and cmake, but I only can test with make, so hope all work fine. MSVC is broken, but I don't have Windows, things to search and fix are any reference to WITH_FREETYPE2, FTGL and BMFONT (take in care that blenkernel also have a BKE_bmfont.h, this don't have anything to do with bmfont). Always have to link/include the freetype2 library Remove any reference to libbmfont Remove any reference to libftfont Remove any reference to libbftgl (or libbFTGL)
2009-05-05* More icon updates, thanks to Jendryzch. That's all the modifiers now, I think!Matt Ebb
2009-05-02* Added a list of OS X volumes to the file selector bookmarks pane, ↵Matt Ebb
consistent with the drive letters on Windows. Currently this list only gets refreshed on Blender startup, hopefully this can be worked on but for now at least it's better than having to manually navigate to /Volumes/... http://mke3.net/blender/devel/2.5/fileselect_volumes.png
2009-04-152.5Ton Roosendaal
- Fun for testers: Added "Redo Operator" Panel in view3d 'nkey' region. It's going to be part of tools UI I know, but this will give good tests of what goes on with operators. I had to add small fixes in Transform for it already. :) One important issue to note is that it lists every operator, also from non-3D-window ops. Needs checked or classified somehow. - Fix: removed bad 2.4x hack from how pulldown menus were defined. Made widget code cleaner, and will show menus like SHIFT+A correct now.
2009-04-142.5Ton Roosendaal
More cleanup! - removed old UI font completely, including from uiBeginBlock - emboss hints for uiBlock only have three types now; Regular, Pulldown, or "Nothing" (only icon/text) - removed old font path from Userdef - removed all old button theme hinting - removed old "auto block" to merge buttons in groups (was only in use for radiosity buttons) And went over all warnings. One hooray for make giving clean output :) Well, we need uniform definitions for warnings, so people at least fix them... here's the real bad bugs I found: - in mesh code, a call to editmesh mixed *em and *me - in armature, ED_util.h was not included, so no warnings for wrong call to ED_undo_push() - The extern Py api .h was not included in the bpy_interface.c, showing a several calls using different args. Further just added the missing includes, and removed unused vars.
2009-04-102.5Ton Roosendaal
Grand cleanup: - removal of FTF and ftfont dir - removal of text.c which wrapped it - wrapped old text drawing code temporarily, need to decide how 'style' will behave per editor when you draw strings outside interface code.... wouldn't be very useful to set fonts locally all over?
2009-03-29- use clear, set, add, enable, disable and toggle as a prefix in operator namesCampbell Barton
- use select as a suffix eg UV_OT_loop_select -> UV_OT_select_loop - Each select all operator was using slightly different wording... select_all, deselect_all, de_select_all, select_de_select_all -> select_all_toggle - selection -> select - POSE_OT_select_connected -> POSE_OT_select_linked to match other operators - NODE_OT_delete_selection -> NODE_OT_delete since its not used in other operators - ANIM_OT_previewrange_define -> ANIM_OT_previewrange_set to match other operators - NODE_OT_fit_all -> NODE_OT_view_all to match other operators - View2D_OT_* -> VIEW2D_OT_* to match VIEW3D - View2D_OT_view_downscroll -> VIEW2D_OT_scroll_down more logical - removed MARKER_OT_mouseselect_extend and made extend a boolean property of MARKER_OT_mouseselect - MARKER_OT_mouseselect -> MARKER_OT_select - GROUP_OT_group_remove -> GROUP_OT_objects_remove more logical since its removing objects from groups - MESH_OT_removedoublesflag -> MESH_OT_remove_doubles - redundant words MESH_OT_split_mesh -> MESH_OT_split, OBJECT_OT_object_delete -> OBJECT_OT_delete renamed selection operator properties extend_select -> extend column_select -> column select_children_only -> children_only ... Since these are all in the context of selection operators there is no need for the extra 'select' in the property name. Updated docs http://www.graphicall.org/ftp/ideasman42/html/bpyoperator-module.html
2009-03-182.50: some warning fixes.Brecht Van Lommel
2009-03-182.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r18677:19317 Notes: * Sequence transform strip uses G.scene global, this is commented out now, should be fixed. * Etch-a-ton code was most difficult to merge. The files already in 2.5 got merged, but no new files were added. Calls to these files are commented out with "XXX etch-a-ton". editarmature.c and transform_snap.c were complex to merge. Martin, please check? * Game engine compiles and links again here for scons/make/cmake (player still fails to link).
2009-03-142.5 filebrowserAndrea Weikert
- drawing tweak for background lines - long and short display now behave the same, only difference is column width now. TODO still: - add additional columns (access rights - mode1-mode3 and owner) for non-Windows platforms
2009-03-142.5 filebrowserAndrea Weikert
* added filter buttons to header * changed large icon for movie files to match small icon * fixed small stack corruption in interface_draw.c (Matt, check if this is ok) * moved nice display of file size to storage.c, where string is created.
2009-03-14* File browserMatt Ebb
Columns view now displays nice human-readable file sizes
2009-03-122.5 filebrowserAndrea Weikert
- better encapsulation for fsmenu to make it easier to remove global later. - cleaned up fsmenu code to use just one global - on file_exec current directory gets added to recent. - save last 10 recent files in .Bfs too.
2009-03-122.5 filebrowserAndrea Weikert
- add refresh filelist operator and button in header
2009-03-122.5 filebrowser WIP commitAndrea Weikert
- cleaned up warnings (mostly unneeded variables) - new icons for filebrowser (large refresh and parent icons missing though) - fixed error in large icon drawing due to texture coordinates calculated outside subpart of texture. - removed library loading stuff from filelist
2009-03-112.5 filebrowserAndrea Weikert
(WIP commit) - added categories SYSTEM, BOOKMARKS and RECENT to left panel (recent files not filled yet) - selection for bookmarks now works by storing draw position, might do that for the file list too - removed fsmenu button and Bookmark button from UI region
2009-03-10* More 2.5 UI tweaks - text/controls/file browserMatt Ebb
2009-03-102.5 filebrowserAndrea Weikert
Some UI tweaks and fixes * fixed some overlapping buttons (Matt, feel free to change button arrangement if you like), the Bookmark (B) button should probably be removed eventually from the current place and the fsmenu button as well, now that we have the directories on the left panel. * fixed initialisation of params->display (aligorith: thanks for fixing, I did reset the #defines, since it was just missing the correct value in the initialisation) * fixed bug when area became too small (crash) * fixed bug (last file missing in long display) * fixed selection when mouse outside tiles.
2009-03-09View2D fixes for File Browser: Scrollbars now draw correct.Joshua Leung
Elubie, please check on the values for params->display. They were being set to zero by default... Also, set the correct panning locks for the various views
2009-03-09* fun 2.5 UI commit from seoul airport!Matt Ebb
A few UI goodies from on the plane: - fixed the sliders for non-rounded themes - Made properties with rna subtype of 'percentage' automatically display a '%' character *after* the numerical value, where it belongs. It would also be really great to add a ° - degree symbol after angle and perhaps rotation subtypes. This works fine with international fonts but not with oldskool bitmap fonts (not part of ascii). I wonder if there's a way to get around this? - Added nice embossing effects on buttons, labels and pulldowns (there you go, brecht :) - and cooler looking tooltips And did some work on the file browser. Andrea, I hope this is ok, let me know if there are problems and I can work on fixing it up :) - added some new icons for file types, that are now shown in list view. icon designers, please feel free to update and make nicer ones! - tweaked the default colour theme and did some graphical fiddling to make the various views look nicer - rearranged the buttons on the header and swapped the 'P' button for an up arrow button, this needs a nicer icon too. - added outliner style alternating bands to the list view to see info grouping better. This has a small prob in columns view though, can fix that.
2009-03-082.5 filebrowserAndrea Weikert
still WIP commit, so Matt can do UI design - cleaned up filebrowser drawing and selection - selection bugfix
2009-03-032.5 filebrowserAndrea Weikert
- WIP commit - bookmarks toggling (region collapsing needs to be done still) - switching between display types in header (long filenames needs to be done still)
2009-03-032.5 filebrowserAndrea Weikert
bugfix: create directories to store thumbnails if they don't exist.
2009-02-172.5Ton Roosendaal
Bug: cleanup in space_file copy I did missed a NULL check :)
2009-02-172.5Ton Roosendaal
Small fixes for filewindow; - on resize area/window, the load button disappeared. - made scrollers indicate what direction works - mousewheel scroll switches to horizontal automatically now (assuming we keep filelists horiz, previews vertical scrolled) View2d got hacked a bit by me for it; i guess for some cases the scroll value should become customizable. Will come back later!
2009-02-162.5Ton Roosendaal
Proper integration of File-selecting in WM. The communication flow was flawed. :) Main problem was that filewindow can change the screen context entirely, and should not do this directly on a call inside an operator. Another problem was that the operator ownership was handed over to SpaceFile, which is asking for problems if you want to execute the operator with proper context later on. Solution is simple; window handlers already are valid owners of operators and can manage context, so instead of directly talking to the 'file space', you give the operator to a new handler this way: WM_event_add_fileselect(C, op); This handler then listens to events (OPEN, EXEC, CANCEL) sent by the WM or by the filewindow itself. This way local context operators (like "open new image in imagewindow") will survive a full-window fileselector fine, and in future also secondary windows browsing files. Two bugfixes included in this commit too: - Add sequence menus in Sequencer used wrong context. - When handler executes operators, it sets stored context now by first checking if this is still valid.
2009-02-142.5Ton Roosendaal
FileWindow: It appeared all load/save went via 1 call, so the 'OK save over' menu popped up on loading files too. Added check in the function for saving... bit weak, could become an argument for ED_fileselect. Also renamed file operators to conform to others.
2009-02-142.5Ton Roosendaal
- Localview in 3d window back. Note: it puts entire area on localview, so it works nice for 4-split views as well. - Added 'save over' menu in filewindow F2 operator. Mostly to comply to 2.48... such things can be on the review list.
2009-02-102.5Ton Roosendaal
File Window: - Added PKEY parent directory - Made "P" button work - Removed confused theme colors for text, it caused selected text to print greyish.
2009-02-042.5Ton Roosendaal
Render back! And not only back, even full threaded now. :) Current state is unfinished, but too much fun to not to commit for review and test! WARNING: because render is in a threaded job, it will use data as can be edited in the UI. That'll crash in many cases of course... the idea is to limit UI usage to viewing stuff, especially for the Image Window to inspect layers or zoom in/out. What works now; - F12 render (no anim) - ESC from render - ESC pushes back temporary Image Window - Render to ImageWindow or full-screen. - Executing composites, and edit composites after render. Note that the UI is 100% responsive in a render, you can switch screens, slide area dividers around, or even load a new file during render. :) It's quite stable even. I'll collect all crash reports especially to get a good picture of where the protection is required at least. Also added: XKey "Delete Objects", to get things crash... unfortunately it didn't for me.
2009-02-012.5 filebrowserAndrea Weikert
small fix for selection of bookmarks/favorite folders
2009-01-302.5: UI & MenusBrecht Van Lommel
* Cleaned up UI_interface.h a bit, and added some comments to organize things a bit and indicate what should be used when. * uiMenu* functions can now be used to create menus for headers too, this is done with a uiDefMenuBut, which takes a pointer to a uiMenuCreateFunc, that will then call uiMenu* functions. * Renamed uiMenuBegin/End to uiPupMenuBegin/End, as these are specific to making popup menus. Will convert the other conformation popup menu functions to use this too so we can remove some code. * Extended uiMenu functions, now there is is also: BooleanO, FloatO, BooleanR, EnumR, LevelEnumR, Separator. * Converted image window headers to use uiMenu functions, simplifies menu code further here. Did not remove the uiDefMenu functions as they are used in sequencer/view3d in some places now (will fix). * Also tried to simplify and fix bounds computation a bit better for popup menus. It tried to find out in advance what the size of the menu was but this is difficult with keymap strings in there, now uiPopupBoundsBlock can figure this out afterwards and ensure the popup is within the window bounds. Will convert some other functions to use this too.
2009-01-282.5Ton Roosendaal
Some drawing tweaks for animsys: - added notifier ND_KEYS type, to send proper notes around. now insert-key redraws fcurve/action view - made slider-draggers disappear when view is total or bigger. Also experimented with making sliders go away entirely, but this conflicts too much with current code for channel lists. Ali: I think you have to make call that calculates the 'tot' for channels, and run this in region listener, including the totRect update for view2d. The 'minsize' for channels also fails when there's a slider, it always doesn't fit then :)
2009-01-282.5Ton Roosendaal
Bugfix in last commit: the read-file hotkey (enter) has to be in the window handler queue, so it nicely exits all queues without using free'd data.
2009-01-282.5Ton Roosendaal
Filewindow: restored some usability issues :) (Andrea: Hope you're OK, I needed to test stuff, and file open was a pain!) - F1: shows last saved/opened file now - Enter key loads, ESC cancels - Hilites on mousemove now show same theme colors as before - Enabled intended roundbox draw (was added to UI api) - Tweaked roundbox hilites to nicely surround text - Text was drawing too close to collumn dividers - Brought back missing glDisable(GL_BLEND), messed with draw - On file-open, mouse position is used to show active file
2009-01-272.5Ton Roosendaal
Bugfix; preventing crash on dividing by zero int.
2009-01-262.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r17853:HEAD
2009-01-242.5Ton Roosendaal
- writeimage.c back, put in space_file now... - renamed fluidsim.c to distinguish from bke version
2009-01-212.5 filebrowserAndrea Weikert
cleaned up selection code new operators: - highlight file under cursor - select all/nothing (AKEY) - border select (BKEY) changed selection to be invoked by LEFTMOUSE
2009-01-182.5 filebrowserAndrea Weikert
fix typo in #include