blender-staging.git
11 years ago2.5 filebrowser
Andrea Weikert [Thu, 12 Mar 2009 06:40:03 +0000 (06:40 +0000)]
2.5 filebrowser
- add refresh filelist operator and button in header

11 years ago* More UI control tweaks
Matt Ebb [Thu, 12 Mar 2009 05:56:02 +0000 (05:56 +0000)]
* More UI control tweaks

11 years ago2.5 filebrowser WIP commit
Andrea Weikert [Wed, 11 Mar 2009 23:22:07 +0000 (23:22 +0000)]
2.5 filebrowser WIP commit
- 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

11 years ago* small typo fix.
Nathan Letwory [Wed, 11 Mar 2009 20:25:31 +0000 (20:25 +0000)]
* small typo fix.

11 years ago2.5 / Area management
Nathan Letwory [Wed, 11 Mar 2009 20:22:06 +0000 (20:22 +0000)]
2.5 / Area management
* 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.

11 years agoWIP PyAPI from winter camp discussions, make subtypes of the base RNA python type...
Campbell Barton [Wed, 11 Mar 2009 17:28:37 +0000 (17:28 +0000)]
WIP PyAPI from winter camp discussions, make subtypes of the base RNA python 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.

11 years agoSimplified vpaint/wpaint radial control calls. Removed also some unused radial contro...
Nicholas Bishop [Wed, 11 Mar 2009 00:52:00 +0000 (00:52 +0000)]
Simplified vpaint/wpaint radial control calls. Removed also some unused radial control code.

11 years agoChanged vertexpaint and weightpaint to use the standard Brush struct, so they too...
Nicholas Bishop [Wed, 11 Mar 2009 00:43:08 +0000 (00:43 +0000)]
Changed vertexpaint and weightpaint to use the standard Brush struct, so 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.

11 years ago* More render data RNA
Matt Ebb [Wed, 11 Mar 2009 00:24:34 +0000 (00:24 +0000)]
* More render data RNA

11 years agoAdded a brush panel that can be eventually be used for all the paint modes. For now...
Nicholas Bishop [Tue, 10 Mar 2009 23:38:16 +0000 (23:38 +0000)]
Added a brush panel that can be eventually be used for all the paint modes. For now, just sculpt and texture paint are set up to use it (vpaint and wpaint don't yet use the Brush type.)

11 years ago2.5 filebrowser
Andrea Weikert [Tue, 10 Mar 2009 23:14:41 +0000 (23:14 +0000)]
2.5 filebrowser
(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

11 years agoSwitch to non-array parameters.
Martin Poirier [Tue, 10 Mar 2009 18:10:24 +0000 (18:10 +0000)]
Switch to non-array parameters.
Add mising property find checks and remove uneeded param.

11 years ago* More 2.5 UI tweaks - text/controls/file browser
Matt Ebb [Tue, 10 Mar 2009 08:54:35 +0000 (08:54 +0000)]
* More 2.5 UI tweaks - text/controls/file browser

11 years ago2.5 filebrowser
Andrea Weikert [Mon, 9 Mar 2009 21:17:19 +0000 (21:17 +0000)]
2.5 filebrowser
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.

11 years agoView2D fixes for File Browser: Scrollbars now draw correct.
Joshua Leung [Mon, 9 Mar 2009 09:15:23 +0000 (09:15 +0000)]
View2D fixes for File Browser: Scrollbars now draw correct.

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

11 years ago* fixed the pulldown text embossing, looked awful on dark themes
Matt Ebb [Mon, 9 Mar 2009 08:56:36 +0000 (08:56 +0000)]
* fixed the pulldown text embossing, looked awful on dark themes

11 years ago* fun 2.5 UI commit from seoul airport!
Matt Ebb [Mon, 9 Mar 2009 08:31:45 +0000 (08:31 +0000)]
* fun 2.5 UI commit from seoul airport!

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.

11 years ago* test commit, some updated icons
Matt Ebb [Mon, 9 Mar 2009 07:51:33 +0000 (07:51 +0000)]
* test commit, some updated icons

11 years agoGraph Editor: Frame numbers in horizontal scrollbar are no longer restricted to 1...
Joshua Leung [Mon, 9 Mar 2009 07:00:40 +0000 (07:00 +0000)]
Graph Editor: Frame numbers in horizontal scrollbar are no longer restricted to 1.0 frame intervals.

11 years ago* Updated slider design
Matt Ebb [Sun, 8 Mar 2009 17:12:59 +0000 (17:12 +0000)]
* Updated slider design

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.

11 years agocompiler fix part 1
Joseph Eagar [Sun, 8 Mar 2009 16:50:11 +0000 (16:50 +0000)]
compiler fix part 1

[[Split portion of a mixed commit.]]

11 years ago2.5 filebrowser
Andrea Weikert [Sun, 8 Mar 2009 13:14:12 +0000 (13:14 +0000)]
2.5 filebrowser
still WIP commit, so Matt can do UI design
- cleaned up filebrowser drawing and selection
- selection bugfix

11 years agoRNA:
Brecht Van Lommel [Sat, 7 Mar 2009 15:23:03 +0000 (15:23 +0000)]
RNA:
* boolean/int/float_get_array now works for non-array
  properties as well, just filling in a single value.

11 years agoShare enum types with rna and small bugfix because Ton needs to make keymodifier...
Martin Poirier [Sat, 7 Mar 2009 10:28:08 +0000 (10:28 +0000)]
Share enum types with rna and small bugfix because Ton needs to make keymodifier bitflag work.

11 years agoNew include file to share enum types between RNA and operators
Martin Poirier [Sat, 7 Mar 2009 10:26:29 +0000 (10:26 +0000)]
New include file to share enum types between RNA and operators

Start with proportional falloff modes.

11 years agoadded python api function to register an operator into a keymap
Campbell Barton [Sat, 7 Mar 2009 09:46:33 +0000 (09:46 +0000)]
added python api function to register an operator into a keymap
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.

11 years ago* Some more icon updates and tweaks, thanks jendrzych!
Matt Ebb [Sat, 7 Mar 2009 08:52:30 +0000 (08:52 +0000)]
* Some more icon updates and tweaks, thanks jendrzych!

11 years agoAnimation Editors: Copy/Paste Keyframe changes
Joshua Leung [Sat, 7 Mar 2009 04:24:28 +0000 (04:24 +0000)]
Animation Editors: Copy/Paste Keyframe changes

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!).

11 years agoTransform fun
Martin Poirier [Fri, 6 Mar 2009 15:50:15 +0000 (15:50 +0000)]
Transform fun

extracting params in split transform operators.

work in progress still, but lots of fun with operator replay (F6)

11 years ago2.5 / SCons
Nathan Letwory [Fri, 6 Mar 2009 14:58:37 +0000 (14:58 +0000)]
2.5 / SCons
* make sure we can still compile WITH_BF_PYTHON=0

11 years agoFix bug with transform NumInput in 2.5 (used uninit var).
Martin Poirier [Fri, 6 Mar 2009 14:12:12 +0000 (14:12 +0000)]
Fix bug with transform NumInput in 2.5 (used uninit var).

11 years agoRNA:
Brecht Van Lommel [Fri, 6 Mar 2009 10:22:12 +0000 (10:22 +0000)]
RNA:
* 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.

11 years ago2.5 / Area management
Nathan Letwory [Thu, 5 Mar 2009 23:19:44 +0000 (23:19 +0000)]
2.5 / Area management
* 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.

11 years agosmall commit to allow bpy_operator.c to compile in msvc
Shaul Kedem [Thu, 5 Mar 2009 17:47:33 +0000 (17:47 +0000)]
small commit to allow bpy_operator.c to compile in msvc

11 years agoPyRNA API: some RNA types were crashing on looping, also return None rather then...
Campbell Barton [Thu, 5 Mar 2009 16:24:30 +0000 (16:24 +0000)]
PyRNA API: some RNA types were crashing on looping, also return None rather then an RNA struct when the ptr->data is NULL

11 years agoMake RNA an Operator dir() work in py 2.5 - 3.0
Campbell Barton [Thu, 5 Mar 2009 12:09:30 +0000 (12:09 +0000)]
Make RNA an Operator dir() work in py 2.5 - 3.0
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

11 years ago2.5 / PyRNA
Nathan Letwory [Thu, 5 Mar 2009 08:53:29 +0000 (08:53 +0000)]
2.5 / PyRNA
* a collection of small changes after review together with Campbell.

11 years agoBoolean vectors and arrays!
Martin Poirier [Wed, 4 Mar 2009 15:30:47 +0000 (15:30 +0000)]
Boolean vectors and arrays!

11 years agorun script in the text editor is back. UI scripts dont work yet.
Campbell Barton [Wed, 4 Mar 2009 13:26:33 +0000 (13:26 +0000)]
run script in the text editor is back. UI scripts dont work yet.

11 years agoSome compiling tweaks for cmake / osx 10.5
Matt Ebb [Wed, 4 Mar 2009 08:58:24 +0000 (08:58 +0000)]
Some compiling tweaks for cmake / osx 10.5

11 years ago2.5 filebrowser
Andrea Weikert [Tue, 3 Mar 2009 13:15:40 +0000 (13:15 +0000)]
2.5 filebrowser
- WIP commit
- bookmarks toggling (region collapsing needs to be done still)
- switching between display types in header (long filenames needs to be done still)

11 years ago2.5 filebrowser
Andrea Weikert [Tue, 3 Mar 2009 10:24:06 +0000 (10:24 +0000)]
2.5 filebrowser
bugfix: create directories to store thumbnails if they don't exist.

11 years ago(which was the wrong one. of course)
Nathan Letwory [Tue, 3 Mar 2009 10:22:00 +0000 (10:22 +0000)]
(which was the wrong one. of course)

11 years ago2.5 / SCons / Win64
Nathan Letwory [Tue, 3 Mar 2009 10:21:11 +0000 (10:21 +0000)]
2.5 / SCons / Win64
- add a very preliminary config.

11 years agoAnd another commit to cleanup a little, this is the last,
Diego Borghetti [Mon, 2 Mar 2009 21:02:39 +0000 (21:02 +0000)]
And another commit to cleanup a little, this is the last,
next commit add internal font and we can go ahead and remove
ftfont and bmfont.

11 years ago* errors in bpyui draw scripts were segfaulting
Campbell Barton [Mon, 2 Mar 2009 20:18:29 +0000 (20:18 +0000)]
* errors in bpyui draw scripts were segfaulting
* added PyLineSpit(), useful for debugging so you can easily find the
line of the python script running.

11 years agoscons error
Campbell Barton [Mon, 2 Mar 2009 17:24:40 +0000 (17:24 +0000)]
scons error

11 years ago2.5: fix for compiling Carbon clipboard code, forgot to update this line.
Brecht Van Lommel [Mon, 2 Mar 2009 14:34:33 +0000 (14:34 +0000)]
2.5: fix for compiling Carbon clipboard code, forgot to update this line.

11 years ago2.5 MSVC9 projectfiles
Andrea Weikert [Mon, 2 Mar 2009 13:55:53 +0000 (13:55 +0000)]
2.5 MSVC9 projectfiles
- space_text update

11 years ago* some more rna stuff in materials
Matt Ebb [Mon, 2 Mar 2009 13:34:34 +0000 (13:34 +0000)]
* some more rna stuff in materials

11 years ago2.5: bugfix, new text space was not initialized correct.
Brecht Van Lommel [Mon, 2 Mar 2009 12:43:54 +0000 (12:43 +0000)]
2.5: bugfix, new text space was not initialized correct.

11 years agoCleanup a little before add internal font (bmfont).
Diego Borghetti [Mon, 2 Mar 2009 05:20:48 +0000 (05:20 +0000)]
Cleanup a little before add internal font (bmfont).

11 years agoPose Channels - changing settings in RNA updates them correctly again
Joshua Leung [Mon, 2 Mar 2009 01:22:02 +0000 (01:22 +0000)]
Pose Channels - changing settings in RNA updates them correctly again

11 years ago2.5 - Various animation bugfixes for samples
Joshua Leung [Mon, 2 Mar 2009 00:55:10 +0000 (00:55 +0000)]
2.5 - Various animation bugfixes for samples

11 years agoGraph Editor: Baking (Alt-C) operator now works as expected
Joshua Leung [Sun, 1 Mar 2009 11:47:29 +0000 (11:47 +0000)]
Graph Editor: Baking (Alt-C) operator now works as expected

In the process, added some really basic drawing code for curves containing such data. Note: the endpoints don't draw right yet though.

11 years agoGraph Editor: Added operator to 'bake' keyframe-based F-Curves to be composed of...
Joshua Leung [Sun, 1 Mar 2009 11:27:31 +0000 (11:27 +0000)]
Graph Editor: Added operator to 'bake' keyframe-based F-Curves to be composed of samples.

This operator can be activated using the 'Alt-C' hotkey for now, and operates on selected + editable F-Curves. This is currently still highly experimental, and does crash

I've implemented this as a way to test out the FPoints/samples code, which will be used to provide better support of the dense F-Curves which result from importing Mocap/BVH data. These should use considerably less memory + have a few additional benefits over keyframes when they're working in a stable fashion.

11 years agoView2D: Removed the hacks from commit 19005 as they weren't actually needed. The...
Joshua Leung [Sun, 1 Mar 2009 06:22:03 +0000 (06:22 +0000)]
View2D: Removed the hacks from commit 19005 as they weren't actually needed. The keymap currently contains some special method for coping with this.

11 years ago2.5 - Animation related tweaks
Joshua Leung [Sun, 1 Mar 2009 05:45:44 +0000 (05:45 +0000)]
2.5 - Animation related tweaks

* Scrollers for zoomable views are now always shown again. The previous method was quite bad for these, as there would be flickering as the view was zoomed + panned. Also, the old method was not suggestive of the drag-zoom features on the scrollers, which was provided by the shaded bars. (Non-zoomable views will still only show scrollers where appropriate).

* Insert-Key in 3d-view (i.e. the 'temp' operator which still needs to be ported to use builtin relative keyingsets) had a bug where the wrong keyframe were being inserted (rotation in instead of location, scaling instead of rotation) for bones.

11 years ago2.5 - Text Editor bugfix
Joshua Leung [Sun, 1 Mar 2009 01:50:21 +0000 (01:50 +0000)]
2.5 - Text Editor bugfix

KM_TEXTINPUT event matching was not correctly working for standard number keys (and chars such as @ # $ % ^ & etc.), which were being ignored.

Ton - you might like to check this commit. It works fine here now, but it might not be the intended way.

11 years ago2.5: Text Editor back.
Brecht Van Lommel [Sat, 28 Feb 2009 23:33:35 +0000 (23:33 +0000)]
2.5: Text Editor back.

There was very little structure in this code, using many globals
and duplicated code. Now it should be better structured. Most
things should work, the main parts that are not back yet are the
python plugins and markers. Notes:

* Blenfont is used for drawing the text, nicely anti-aliased.
* A monospace truetype font was added, since that is needed for
  the text editor. It's Bitstream Vera Sans Mono. This is the
  default gnome terminal font, but it doesn't fit entirely well
  with the other font I think, can be changed easily of course.

* Clipboard copy/cut/paste now always uses the system clipboard,
  the code for the own cut buffer was removed.
* The interface buttons should support copy/cut/paste again now
  as well.
* WM_clipboard_text_get/WM_clipboard_text_set were added to the
  windowmanager code.

* Find panel is now a kind of second header, instead of a panel.
  This needs especially a way to start editing the text field
  immediately on open still.

* Operators are independent of the actual space when possible,
  was a bit of puzzling but got it solved nice with notifiers,
  and some lazy init for syntax highlight in the drawing code.
* RNA was created for the text editor space and used for buttons.

* Operators:
    * New, Open, Reload, Save, Save As, Make Internal
    * Run Script, Refresh Pyconstraints
    * Copy, Cut, Paste
    * Convert Whitespace, Uncomment, Comment, Indent, Unindent
    * Line Break, Insert
    * Next Marker, Previous Marker, Clear All Markers, Mark All
    * Select Line, Select All
    * Jump, Move, Move Select, Delete, Toggle Overwrite
* Scroll, Scroll Bar, Set Cursor, Line Number
    * Find and Replace, Find, Replace, Find Set Selected,
  Replace Set Selected
    * To 3D Object
    * Resolve Conflict

11 years ago2.5 \ Python API
Nathan Letwory [Sat, 28 Feb 2009 15:28:18 +0000 (15:28 +0000)]
2.5 \ Python API
* put back #if PY_VERSION_HEX check again, so we without Python 3.0 can still compile
  - Campbell, please don't remove it again, ok?

11 years agoPython experimental UI API
Campbell Barton [Sat, 28 Feb 2009 13:27:45 +0000 (13:27 +0000)]
Python experimental UI API
Can draw panels in the scripts space containing RNA and operator buttons.
* Added bpyui.register() so scripts can draw buttons and panels into the scripts space type.
* wrapped drawBlock, drawPanels and matchPanelsView2d
* Operator buttons take a python dictionary used to set the button defaults.
* BPY_getFileAndNum utility function to get the filename and line number python is currently running.

11 years agoBugfixes for armature operators - parent + align operators weren't working correctly...
Joshua Leung [Sat, 28 Feb 2009 10:23:36 +0000 (10:23 +0000)]
Bugfixes for armature operators - parent + align operators weren't working correctly, since the active bone wasn't being accounted for in the right way.

11 years ago2.5: updated MSVC9 project files
Andrea Weikert [Sat, 28 Feb 2009 09:59:27 +0000 (09:59 +0000)]
2.5: updated MSVC9 project files
- blenfont
- editors: sculpt changed to sculpt_draw
- some RNA additions (rna_animation.c)
- fixed some game engine include directories

11 years ago2.5 - Various animation bugfixes
Joshua Leung [Sat, 28 Feb 2009 09:58:58 +0000 (09:58 +0000)]
2.5 - Various animation bugfixes

* When inserting keyframes, newly created groups are no longer created with expanded + active flags set. The former should work better and keep the views less crowded by default when there are many F-Curves.
* Fixed crash when trying to select action groups. This only seemed to happen in one of the BBB files...
* Settings that have been tagged in RNA as being un-animateable are now ignored when creating Keying Sets.
* Removed some un-needed old code from keyframing code. I've still left in the old-style builtin KeyingSets from about 2.48, since those will be useful reference when setting up the new builtin KeyingSets.
* Removed obsolete correction factor for Visual Keying -> object rotations.

11 years agoMaking y2 for File the same that Add Timeline etc
Joilnen Leite [Sat, 28 Feb 2009 07:45:16 +0000 (07:45 +0000)]
Making y2 for File the same that Add Timeline etc

11 years agoRunning the OBJECT_OT_mesh_add operator outside the 3d view would crash.
Campbell Barton [Fri, 27 Feb 2009 21:27:03 +0000 (21:27 +0000)]
Running the OBJECT_OT_mesh_add operator outside the 3d view would crash.

11 years agoRestore the #if around the ui_module declaration, this made compiled fail
Diego Borghetti [Fri, 27 Feb 2009 14:10:44 +0000 (14:10 +0000)]
Restore the #if around the ui_module declaration, this made compiled fail
with python 2.5 (< 3.0).

11 years agoadded defAutoButR() and blockSetFlag() and some flags for the experimental python...
Campbell Barton [Fri, 27 Feb 2009 10:22:40 +0000 (10:22 +0000)]
added defAutoButR() and blockSetFlag() and some flags for the experimental python UI, which just wraps C the functions.

11 years agoupdate to build with python 3.0.1 which removed Py_InitModule3, added richcompare...
Campbell Barton [Thu, 26 Feb 2009 05:50:19 +0000 (05:50 +0000)]
update to build with python 3.0.1 which removed Py_InitModule3, added richcompare functions to the operator api.

11 years ago2.5: Particle edit mode more functional now. Transform, brush
Brecht Van Lommel [Wed, 25 Feb 2009 19:29:58 +0000 (19:29 +0000)]
2.5: Particle edit mode more functional now. Transform, brush
editing, paint cursor, radial control, mouse/border/circle/lasso
select, mirroring, bad level calls fixed, etc.

11 years ago2.5
Ton Roosendaal [Wed, 25 Feb 2009 14:50:40 +0000 (14:50 +0000)]
2.5

SHIFT+A add armature didn't add a bone yet. :)

11 years ago2.5
Ton Roosendaal [Wed, 25 Feb 2009 13:48:39 +0000 (13:48 +0000)]
2.5

Four new operators for Armature editmode, by Arystan D.

- Extrude (Ekey)
  Extrude forked (shift-E when mirror on)
- CTRL+click extrude
- Delete selected (Xkey)
- Duplicate (shift-D)

11 years agoAnimato Conversions:
Joshua Leung [Wed, 25 Feb 2009 11:26:16 +0000 (11:26 +0000)]
Animato Conversions:

Action Channels (for bones only) are now converted to the new Action Groups, restoring expand/collapse functionality for these, which was quite helpful.

11 years agoOutliner/Datablocks view: IKEY/Alt-IKEY Hotkeys work for Inserting/Deleting keyframes...
Joshua Leung [Wed, 25 Feb 2009 10:55:03 +0000 (10:55 +0000)]
Outliner/Datablocks view: IKEY/Alt-IKEY Hotkeys work for Inserting/Deleting keyframes via KeyingSets

11 years agoAnim-Channel Filtering: If an object only has animation-data attached to one of its...
Joshua Leung [Wed, 25 Feb 2009 10:27:08 +0000 (10:27 +0000)]
Anim-Channel Filtering: If an object only has animation-data attached to one of its Material datablocks, they will now get included too.

This makes it possible to edit keyframes for material animation where no object-linked animation exists. However, this is provided that the material is linked to an object!

11 years ago2.5
Ton Roosendaal [Wed, 25 Feb 2009 09:54:41 +0000 (09:54 +0000)]
2.5

Bugfix in compositor: code that duplicated the nodetree and merged
viewer images back lacked handling the case when a viewer was not
set active yet.

This fixes eternal loops in compositor after removing Viewers.

11 years ago2.5
Ton Roosendaal [Wed, 25 Feb 2009 09:36:25 +0000 (09:36 +0000)]
2.5

Bugfix: commit of last week that moved object_handle_update() out
of the view3d code into event loop caused render to crash. This
update should not be called during render. In future it'll even
be thread-locked or better; solved by giving objects an 'owner'
for storage of updates.

This solves a lot of crashes on render.

11 years agoAdded return statements to a couple of functions that didn't have
Kent Mein [Tue, 24 Feb 2009 16:51:55 +0000 (16:51 +0000)]
Added return statements to a couple of functions that didn't have
them and removed an extra ;

Kent

11 years agoMade animation-editor copy/paste operators use reports-api for reporting errors inste...
Joshua Leung [Tue, 24 Feb 2009 11:23:04 +0000 (11:23 +0000)]
Made animation-editor copy/paste operators use reports-api for reporting errors instead of console prints.

11 years agoDopeSheet/Graph Editors: Restored Copy/Paste operators
Joshua Leung [Tue, 24 Feb 2009 11:18:24 +0000 (11:18 +0000)]
DopeSheet/Graph Editors: Restored Copy/Paste operators

The channel-matching code when pasting still needs improvements to work really nicely...

11 years agoAdded rna timeline to cmake build
Nicholas Bishop [Tue, 24 Feb 2009 03:14:57 +0000 (03:14 +0000)]
Added rna timeline to cmake build

11 years agoGave RNA to timeline markers. Updated both Scene and Action RNA for standard and...
Roland Hess [Tue, 24 Feb 2009 03:06:23 +0000 (03:06 +0000)]
Gave RNA to timeline markers. Updated both Scene and Action RNA for standard and pose markers.

11 years ago2.5
Ton Roosendaal [Mon, 23 Feb 2009 17:30:00 +0000 (17:30 +0000)]
2.5

Weightpaint could crash, wrong check for editmode mesh.

11 years ago2.5
Ton Roosendaal [Mon, 23 Feb 2009 16:31:58 +0000 (16:31 +0000)]
2.5

Added more strict poll() to radial control for texture paint.
I'd advise to use wherever possible G.f checks in the polls for now,
easier to get this solved later.

11 years agoADR_CODE conversion done for particle systems. Fixed typo in particle rna.
Roland Hess [Mon, 23 Feb 2009 14:55:23 +0000 (14:55 +0000)]
ADR_CODE conversion done for particle systems. Fixed typo in particle rna.

11 years agoGraph Editor: Tweaking the drawing of the channel colours for F-Curve channels.
Joshua Leung [Mon, 23 Feb 2009 06:22:47 +0000 (06:22 +0000)]
Graph Editor: Tweaking the drawing of the channel colours for F-Curve channels.

I'm not happy with this yet, but it seems a reasonable compromise. There is a commented-out method included here too.

11 years agobrought back the sculpt buttons in the NKEY panel
Nicholas Bishop [Sun, 22 Feb 2009 22:00:35 +0000 (22:00 +0000)]
brought back the sculpt buttons in the NKEY panel

11 years ago* Added radial control for texture paint (in both view3d and image)
Nicholas Bishop [Sun, 22 Feb 2009 19:31:25 +0000 (19:31 +0000)]
* Added radial control for texture paint (in both view3d and image)
* bugfix: for older files, initialize the brush curve on file load

11 years agoAnimation Editors: Drawing stuff
Joshua Leung [Sun, 22 Feb 2009 09:30:18 +0000 (09:30 +0000)]
Animation Editors: Drawing stuff

* Added basic panels (Info, Drivers - where applicable, Modifiers) for editing active F-Curve/driver in Graph Editor. The buttons layouts here are really really rough, and have only got a few buttons to be sufficient for debugging purposes. Unfortunately, I don't have time to tweak these nicely now.

* Fixed indention errors with Action Groups used in Material actions

* Changing mode in the Graph Editor now recalculates colours

11 years agoAnimation Editors: Added Tab-Key to toggle editability of selected channels.
Joshua Leung [Sun, 22 Feb 2009 05:55:37 +0000 (05:55 +0000)]
Animation Editors: Added Tab-Key to toggle editability of selected channels.

Ton - Currently, I've had to add a new operator to set this, since it is not possible to specify via keymaps whether the invoke or exec should be called by default for an operator.
(See corresponding mail on 2.5 mailing list for details about this)

11 years agoGraph Editor: Selecting F-Curve channels + keyframes now sets active F-Curve correctly.
Joshua Leung [Sun, 22 Feb 2009 05:34:47 +0000 (05:34 +0000)]
Graph Editor: Selecting F-Curve channels + keyframes now sets active F-Curve correctly.

11 years agoAnimation Editors: Bugfixes for channel selection tools
Joshua Leung [Sun, 22 Feb 2009 04:13:29 +0000 (04:13 +0000)]
Animation Editors: Bugfixes for channel selection tools

* Ctrl-Shift select for Action Groups works again
* Clicking on a channel's data will select it, and also make it the active one in the list now
* Selecting keyframes in F-Curves will select the F-Curve channel too now (+ make it active)

11 years ago2.5
Ton Roosendaal [Sat, 21 Feb 2009 19:17:31 +0000 (19:17 +0000)]
2.5

View3D: background image buttons back. Again nice
to use blend or size or other sliders for live
updates. :)

Note that 'load' doesnt work yet, the operator for
image load only does space-image now.

Also note that with a built-in 4-split option, we
can also encode a way to show 3 different pics.

11 years ago2.5: fix for last commit, for case sensitive OSes.
Brecht Van Lommel [Sat, 21 Feb 2009 18:43:28 +0000 (18:43 +0000)]
2.5: fix for last commit, for case sensitive OSes.

11 years ago2.5
Ton Roosendaal [Sat, 21 Feb 2009 18:33:09 +0000 (18:33 +0000)]
2.5

Useful goodies: most buttons for Image window back.
Not every button works! But what you can do:

- press Nkey to show/hide options
- use curves, with realtime updating
- image properties panel, load, browsing layers,
  setting types
- paint panel
- plus new paint color picker panel! (why it wasn't
  there in 2.4x is probably obvious, but now it can!)

Hrm... radial control should be added here too, and a nice
paint size cursor?

11 years ago2.5
Ton Roosendaal [Sat, 21 Feb 2009 15:31:01 +0000 (15:31 +0000)]
2.5

Support for listview/buttons region in ImageWindow.
Now all code is in this commit :)

11 years agoGraph Editor: NKEY panel - added code to retrieve 'active F-Curve'
Joshua Leung [Sat, 21 Feb 2009 11:22:06 +0000 (11:22 +0000)]
Graph Editor: NKEY panel - added code to retrieve 'active F-Curve'

Currently, this is just used to print the 'name' of the active F-Curve in a panel for verification purposes. This is the recommended way of getting this info.

11 years agoGraph Editor: Started adding the missing NKEY panel stuff
Joshua Leung [Sat, 21 Feb 2009 10:38:58 +0000 (10:38 +0000)]
Graph Editor: Started adding the missing NKEY panel stuff

Only a dummy pannel for now. I'll add some basic examples of relevant buttons + ways to use them soon.

11 years ago* Added back 'Insert Key' operator for DopeSheet editor
Joshua Leung [Sat, 21 Feb 2009 05:04:12 +0000 (05:04 +0000)]
* Added back 'Insert Key' operator for DopeSheet editor
* Fixed button spacing problems in TimeLine