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
path: root/source
AgeCommit message (Collapse)Author
2009-03-15RNA:Brecht Van Lommel
- Added an autogenerated C++ API, basically a simple layer over the C API, but with the advantage that it fits the object oriented RNA model better. Read-only still like the C API. - Had to rename "protected" property in Action Group because it is a C++ keyword, called it "locked" since that seems more consistent anyway? - It's not used anywhere, so here's some example code I used to test it, to get an idea of how it would be used: http://pasteall.org/4582/cpp - Also, ID names are now editable.
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-14return operators as a PyCFunction rather then having our own callable ↵Campbell Barton
operator type
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 2.5Michael Fox
******* small commit, tweaked the emboss based on the object buttons, made it really subtle but still make it easier to read compared to no emboss, a new way will be needed for menus to work aswel
2009-03-14* File browserMatt Ebb
Columns view now displays nice human-readable file sizes
2009-03-14* UI tweakingMatt Ebb
2009-03-132.5: UI Layout Engine, initial code.Brecht Van Lommel
* As a test, used by: * Object buttons, tried to make it match the mockup. * Text window header. * Text window properties panel. * Panel interaction with view2d is still problematic, need to make this work properly still. * Templates are very basic, the ones there are simple but already can follow the object buttons mockup quite closely. * It's based on a three level system: panels, templates and items. To get an idea of what that means in practice, see: http://wiki.blender.org/index.php/BlenderDev/Blender2.5/UI_LayoutEngine#Panels.2C_Templates_and_Items
2009-03-132.5 Python apiCampbell Barton
- rearranged modules bpyui -> bpy.ui, bpy -> bpy.data, remove bpydoc - new module bpy.types, stores a list of all struct types - added __rna__ attribute to types - eg bpy.types.World.__rna__ so you can access the rna data from a type. (so bpydoc.structs isnt needed anymore) - removed unused subtyping method (use python subclassing rather then C PyTypeObject)
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-12RNA:Martin Poirier
* boolean/int/float_set_array now works for non-array properties as well, just setting the value with the first element of the array.
2009-03-122.5 filebrowserAndrea Weikert
- add refresh filelist operator and button in header
2009-03-12* More UI control tweaksMatt Ebb
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-11* small typo fix.Nathan Letwory
2009-03-112.5 / Area managementNathan Letwory
* Add Area Swap: hold alt and drag with LMB from either actionzone. Release LMB on area you want to swap with. I added a matching cute cursor for this (and to make it a politically delicate issue, it's white on black). Note, there are still some error totblocks that I haven't been able to track down properly yet, so that's still a bit WIP.
2009-03-11WIP PyAPI from winter camp discussions, make subtypes of the base RNA python ↵Campbell Barton
type, eventually allowing us to have python defined RNA classes in python - lux/pov/renderman materials, lamps etc as well as operators. At the moment there are 2 ways to do this, The first is like subclassing from python, another (disabled) method copies the base PyTypeObject struct and makes some changes. The PyType is stored in the RNA Struct for reuse, right now there are no access functions - needs to be improved. Added a python script for printing all blend file data to the console which helps testing the api. dir(rna) wont work for python 2.x now, use rna.__dir__() instead.
2009-03-11Simplified vpaint/wpaint radial control calls. Removed also some unused ↵Nicholas Bishop
radial control code.
2009-03-11Changed vertexpaint and weightpaint to use the standard Brush struct, so ↵Nicholas Bishop
they too work with the brush panel. Note: these modes are only using color/alpha/size from Brush, so there's more integration work todo yet.
2009-03-11* More render data RNAMatt Ebb
2009-03-11Added a brush panel that can be eventually be used for all the paint modes. ↵Nicholas Bishop
For now, just sculpt and texture paint are set up to use it (vpaint and wpaint don't yet use the Brush type.)
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-10Switch to non-array parameters.Martin Poirier
Add mising property find checks and remove uneeded param.
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* fixed the pulldown text embossing, looked awful on dark themesMatt Ebb
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-09* test commit, some updated iconsMatt Ebb
2009-03-09Graph Editor: Frame numbers in horizontal scrollbar are no longer restricted ↵Joshua Leung
to 1.0 frame intervals.
2009-03-08* Updated slider designMatt Ebb
Still a bit of a work in progress, will look a little weird on non-rounded themes, but will fix that when back home in .au! The slider now fills the entire button, dragging on it changes the value, clicking edits it. You can also ctrl-click on either side of the slider 'edge' to increment or decrement in small amounts. There's one temporarily in the render buttons for testing.
2009-03-08compiler fix part 1Joseph Eagar
[[Split portion of a mixed commit.]]
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-07RNA:Brecht Van Lommel
* boolean/int/float_get_array now works for non-array properties as well, just filling in a single value.
2009-03-07Share enum types with rna and small bugfix because Ton needs to make ↵Martin Poirier
keymodifier bitflag work.
2009-03-07New include file to share enum types between RNA and operatorsMartin Poirier
Start with proportional falloff modes.
2009-03-07added python api function to register an operator into a keymapCampbell Barton
example... bpyui.registerKey( C, bpyui.spaceTypes.SEQ, 0, "Sequencer", "SEQUENCER_OT_view_selected", bpyui.keyTypes.A, bpyui.keyValTypes.PRESS, 0,0, {}) May want to split this into multiple functions.
2009-03-07* Some more icon updates and tweaks, thanks jendrzych!Matt Ebb
2009-03-07Animation Editors: Copy/Paste Keyframe changesJoshua Leung
As was discussed by the team the other day, copying keyframes (to copy/paste buffer) in DopeSheet/Graph Editor no longer relies on the selection status of the F-Curves, but rather on the selected keyframes only. This should be less confusing... However, pasting keyframes still relies on having F-Curves selected to aid in the channel-matching process. There is still a lot of room for improvement in this area though (as noted in the code!).
2009-03-06Transform funMartin Poirier
extracting params in split transform operators. work in progress still, but lots of fun with operator replay (F6)
2009-03-062.5 / SConsNathan Letwory
* make sure we can still compile WITH_BF_PYTHON=0
2009-03-06Fix bug with transform NumInput in 2.5 (used uninit var).Martin Poirier
2009-03-06RNA:Brecht Van Lommel
* Enum default value is now automatically the first item if it is not specified or 0. * Otherwise if it's not in the items an error will be printed.
2009-03-062.5 / Area managementNathan Letwory
* implementation of a proposal from during Wintercamp: - with SHIFT-LMB drag of area corner the area gets duplicated into a new window. This is the old "Rip Area" operator with a new, better name. The old menu and hotkey are now gone. This means we have currently split, join and now duplicate/copy area into new window in the area actionzones.
2009-03-05small commit to allow bpy_operator.c to compile in msvcShaul Kedem
2009-03-05PyRNA API: some RNA types were crashing on looping, also return None rather ↵Campbell Barton
then an RNA struct when the ptr->data is NULL
2009-03-05Make RNA an Operator dir() work in py 2.5 - 3.0Campbell Barton
removed epy docstrings from RNA python api, since Python can get this info from rna. (could be redone in python if getting doc's on RNA is needed) epy_doc_gen works again
2009-03-052.5 / PyRNANathan Letwory
* a collection of small changes after review together with Campbell.
2009-03-04Boolean vectors and arrays!Martin Poirier
2009-03-04run script in the text editor is back. UI scripts dont work yet.Campbell Barton