12 years ago* Volume Rendering
Matt Ebb [Tue, 25 Aug 2009 06:30:09 +0000 (06:30 +0000)]
* Volume Rendering

Finally in 2.5 branch :)

Still things to do, but will continue working in here. I won't bother
repeating the commit messages from the last year or so, however I've
written up some technical docs to help Ton/Brecht/etc review and find
their way around the code:

That above page has some known issues and todos listed, but I'm still
interested in bug reports.

Credits for this code:
* Matt Ebb
(with thanks to Red Cartel/ProMotion Studios)
* Raul Fernandez Hernandez (Farsthary) for patches:
  o Light cache based multiple scattering approximation
  o Initial voxeldata texture code
  o Depth Cutoff threshold
* Andre Susano Pinto for BVH range lookup addition
* Trilinear interpolation adapted from pbrt
* Tricubic interpolation from libtricubic

12 years ago2.5 - Action Editor
Joshua Leung [Tue, 25 Aug 2009 04:32:40 +0000 (04:32 +0000)]
2.5 - Action Editor

New Actions can now be added again from the Action Editor.

There are no guarantees that this works totally safely yet (reference counting may be quite off), so you've been warned.

12 years ago2.5 - Keying Sets API (now usable from Py-Scripts)
Joshua Leung [Tue, 25 Aug 2009 04:05:37 +0000 (04:05 +0000)]
2.5 - Keying Sets API (now usable from Py-Scripts)

Wrapped the Keying Sets API with RNA Functions so that they can now be called from Py-Scripts. This will ultimately be useful for riggers to create Keying Sets which can get loaded up/created for animators to use after importing their rig.

I've created a demo for this, which can be found at:

- Kazanbas, I've had to create a rna_scene_api.c here to hold some of the relevant functions. Hopefully this won't cause you too much pain when you do your next merge from 2.5 to your branch ;)
- I've noticed that there seem to be a few cases mentioned in the demo which don't totally work yet. I'll commit some fixes for those later.

12 years ago2.5 - NLA Bugfixes:
Joshua Leung [Tue, 25 Aug 2009 01:46:05 +0000 (01:46 +0000)]
2.5 - NLA Bugfixes:

* F-Modifiers on F-Curves can now taken into account when calculating the extents of actions. This is used when there are some NLA strips and some action with some F-Modifiers is being played back on top of those.

* The toggles in the NLA channels list now respect the width of the list instead of using a hardcoded position. This means that clicking on these toggles when the list is resized works again.

12 years agosvn merge -r 22628:22753 volume25
Matt Ebb [Tue, 25 Aug 2009 01:37:08 +0000 (01:37 +0000)]
svn merge -r 22628:22753

12 years ago2.5 - Assorted Bugfixes for Animation Editing
Joshua Leung [Tue, 25 Aug 2009 00:12:11 +0000 (00:12 +0000)]
2.5 - Assorted Bugfixes for Animation Editing

* Inserting keyframes now takes into account whether the F-Curve was editable or not.

* Editing keyframes in animation editors now sends proper depsgraph updates instead of just tagging the relevant objects.

Thanks JiriH for reporting these bugs.

12 years agoTiny tweaks to Display panel in image editor
William Reynish [Mon, 24 Aug 2009 23:27:07 +0000 (23:27 +0000)]
Tiny tweaks to Display panel in image editor

12 years agoReverted some keymap changes.
William Reynish [Mon, 24 Aug 2009 21:45:09 +0000 (21:45 +0000)]
Reverted some keymap changes.

Moving to standards for opening/saving etc was causing uproar in IRC.

12 years agoSmoke:
Daniel Genrich [Mon, 24 Aug 2009 21:39:48 +0000 (21:39 +0000)]
*enable non-2^n textrues for all gfx cards which support it.
* try to enhance the visual quality under linux a bit when gfx card doesn't support it (still errors visible)

12 years agoSmoke:
Daniel Genrich [Mon, 24 Aug 2009 21:16:23 +0000 (21:16 +0000)]
*fixing the fix as usual

12 years agoSmoke:
Daniel Genrich [Mon, 24 Aug 2009 21:06:55 +0000 (21:06 +0000)]
* Bugfix for scaling on non-2^n-textures

12 years agoCorrect transform descriptions.
Martin Poirier [Mon, 24 Aug 2009 14:26:58 +0000 (14:26 +0000)]
Correct transform descriptions.

Some operations were described as vertex only when they aren't.

12 years ago* r22739 broke compilation with scons. Make sure WITH_OPENEXR definition is given
Nathan Letwory [Mon, 24 Aug 2009 12:34:19 +0000 (12:34 +0000)]
* r22739 broke compilation with scons. Make sure WITH_OPENEXR definition is given

12 years ago[#19232] (2.5) Correction of cmake for windows about audio (jack and openal)
Campbell Barton [Mon, 24 Aug 2009 10:21:53 +0000 (10:21 +0000)]
[#19232] (2.5) Correction of cmake for windows about audio (jack and openal)

Didnt apply the patch updated with sndfile.

12 years ago[#19232] (2.5) Correction of cmake for windows about audio (jack and openal)
Campbell Barton [Mon, 24 Aug 2009 10:07:49 +0000 (10:07 +0000)]
[#19232] (2.5) Correction of cmake for windows about audio (jack and openal)
from Guillaume Lecocq (lguillaume)

[#19247] (2.5) useless WITH_OPENEXR redefinition
from Mauro Toffanin (equilibrium)

12 years agopatch from Ron Walker (o6a).
Campbell Barton [Mon, 24 Aug 2009 09:17:09 +0000 (09:17 +0000)]
patch from Ron Walker (o6a).
Descriptions for TFM, TEXT, CONSOLE and ED operators.
- Made some minor edits.

12 years ago* Fix for camera+internal surface object inside ztransp volume
Matt Ebb [Mon, 24 Aug 2009 08:13:09 +0000 (08:13 +0000)]
* Fix for camera+internal surface object inside ztransp volume

12 years ago2.5 - Sliders in Animation Editors
Joshua Leung [Mon, 24 Aug 2009 04:31:13 +0000 (04:31 +0000)]
2.5 - Sliders in Animation Editors

The 'Show Sliders' option for DopeSheet and Graph Editors now works again. When this option is enabled (it is disabled by default), a slider (or combobox) is shown beside the mute/lock toggles for F-Curves. Editing the slider will result in a new keyframe being added on the current frame.

So, for all the (ex)-Maya animators out there, you can now animate in a channelbox-like way. :)

Also in this commit:
* Fixed some warnings in modifier.c from previous commits there
* Fixed some refresh problems with DopeSheet channel list (which were only obvious after adding back the sliders)
* Removed the old/unrestored and nasty slider code used in the past by the Action Editor only.

12 years ago* merge r22734 from trunk
Nathan Letwory [Mon, 24 Aug 2009 02:51:59 +0000 (02:51 +0000)]
* merge r22734 from trunk

NOTE: Remember to svn up your lib/windows. Also, CMake files might need updating still

12 years ago* changes to work with updated FFMPEG libs. Mainly build system. CMake files may...
Nathan Letwory [Mon, 24 Aug 2009 02:49:57 +0000 (02:49 +0000)]
* changes to work with updated FFMPEG libs. Mainly build system. CMake files may need changing too.

NOTE: remember to svn up in lib/windows!

12 years agoMade menu text more consistent, using '...' when a menu item spawns a popup or confir...
William Reynish [Mon, 24 Aug 2009 00:01:09 +0000 (00:01 +0000)]
Made menu text more consistent, using '...' when a menu item spawns a popup or confirmation, and removing redundant starting words in submenus.

Also added notifiers for user prefs, and tweaked wave modifier layout.

12 years agoAdjusted spacing of header items.
William Reynish [Sun, 23 Aug 2009 22:22:58 +0000 (22:22 +0000)]
Adjusted spacing of header items.
Made toggle buttons less wide, with less extra space around them
Made number widgets wider to allow larger numbers, such as the current frame field in the timeline.

12 years ago* Fix for volume materials + AAO
Matt Ebb [Sun, 23 Aug 2009 22:19:45 +0000 (22:19 +0000)]
* Fix for volume materials + AAO

12 years ago2.5 3DView:
Thomas Dinges [Sun, 23 Aug 2009 22:13:56 +0000 (22:13 +0000)]
2.5 3DView:
Patch by Lorenzo Pierfederici (lento). Many thanks!

* Ported some more menus to python (Pose, Particle...)
* Some cleanup and reorganization in the python file to reduce code. :)
* Cleanup of old C buttons code.

12 years ago* Fix for rendering wire materials
Matt Ebb [Sun, 23 Aug 2009 22:11:19 +0000 (22:11 +0000)]
* Fix for rendering wire materials

12 years agoUI
William Reynish [Sun, 23 Aug 2009 21:56:32 +0000 (21:56 +0000)]

Changed the rounding of action buttons. The round style looked pleasing when they were isolated, viewed by themselves, but looked terrible when grouped, or at small sizes with icons as it was often used. The old Filebrowse or Render This Window buttons were examples of how badly they looked with an icon, and the rounding in the tools area made for some weird visual shapes. When combined in groups of widgets, such as the datablock selectors it looked even weirder, because one side of the group would be square and the other would be round, causing some spatial clashes.

Also tweaked the tools sub-area color which stood out as being much brighter than the rest of the UI. When the tools area was open in the default layout, the overall impression was asymmetrical, non-harmonic.

12 years agorevert previous change, povray rendering works again, somehow I managed to render...
Campbell Barton [Sun, 23 Aug 2009 18:20:31 +0000 (18:20 +0000)]
revert previous change, povray rendering works again, somehow I managed to render with previous changes
(probably failed to reload the module and was using the register un-modified version)

12 years agodeprecated world settings were being used making new world's have zero gravity in...
Campbell Barton [Sun, 23 Aug 2009 17:33:34 +0000 (17:33 +0000)]
deprecated world settings were being used making new world's have zero gravity in the game engine.
Double checked these aren't used anymore by renaming the vars in DNA_world_types.h

12 years ago2.5/Sculpt:
Nicholas Bishop [Sun, 23 Aug 2009 17:03:06 +0000 (17:03 +0000)]

* Deleted unused file

12 years ago* Compile fix after merge - disabled high-res smoke rendering in voxeldata texture...
Matt Ebb [Sun, 23 Aug 2009 13:15:10 +0000 (13:15 +0000)]
* Compile fix after merge - disabled high-res smoke rendering in voxeldata texture. Will re-enable when the modifier situation has been worked out.

12 years ago2.5 - Custom Shape and Bone Groups can be viewed/set on Bones again.
Joshua Leung [Sun, 23 Aug 2009 12:53:55 +0000 (12:53 +0000)]
2.5 - Custom Shape and Bone Groups can be viewed/set on Bones again.

12 years agomissed this in last commit.
Campbell Barton [Sun, 23 Aug 2009 12:50:08 +0000 (12:50 +0000)]
missed this in last commit.

12 years agosvn merge -r22704:22717
Campbell Barton [Sun, 23 Aug 2009 07:46:34 +0000 (07:46 +0000)]
svn merge -r22704:22717

12 years agospacebar for the search menu was overriding space in the text editor
Campbell Barton [Sun, 23 Aug 2009 07:33:29 +0000 (07:33 +0000)]
spacebar for the search menu was overriding space in the text editor

12 years agoOption for MouseFocus sensor. only used when 'Mouse over any' type is set.
Campbell Barton [Sun, 23 Aug 2009 06:17:59 +0000 (06:17 +0000)]
Option for MouseFocus sensor. only used when 'Mouse over any' type is set.

Previously the only way to detect if the mouse moved over a different object was to enable true-level-triggering and have a python script detect the change.

When the Pulse option is set, focusing on a different object pulses true.
Python attribute is focusSensor.usePulseFocus.

This is similar to the collision sensors pulse option where changes in the set of collision objects generates an event too.

Found this functionality missing when trying to make a logic demo that used mouse-over with overlapping objects.

12 years agosvn merge -r 22628:22714
Matt Ebb [Sun, 23 Aug 2009 03:33:33 +0000 (03:33 +0000)]
svn merge -r 22628:22714

12 years ago* enable ztransp transparency type for new materials by default.
Matt Ebb [Sun, 23 Aug 2009 02:59:18 +0000 (02:59 +0000)]
* enable ztransp transparency type for new materials by default.

12 years ago* Volume rendering - z transparency
Matt Ebb [Sun, 23 Aug 2009 02:54:30 +0000 (02:54 +0000)]
* Volume rendering - z transparency

This solves one of the last remaining hurdles for
volume rendering. Previously it always used ray
tracing to shade other objects inside or behind the
volume. This meant that said objects would look
aliased, unless you used Full OSA on the volume
(which is slow!). As well as this, it meant that you didn't
get a good alpha channel out of the volume to use for
compositing, similar to ray refracting materials.

This commit enables z transparency for volume
materials. Although it can be potentially less
physically correct, in most situations there's no
difference, and you get the benefit of nice sampling for
other objects and an alpha channel for compositing too.

12 years agouse class __props__ for povray settings.
Campbell Barton [Sat, 22 Aug 2009 17:50:10 +0000 (17:50 +0000)]
use class __props__ for povray settings.

12 years ago2.5: Python subclasses can now define RNA properties by making
Brecht Van Lommel [Sat, 22 Aug 2009 17:30:47 +0000 (17:30 +0000)]
2.5: Python subclasses can now define RNA properties by making
a __props__ list in the class, same as for operators.

12 years ago[#19226] (2.5) blender uses deprecated 'strstream' STL class, causes warnings with gcc
Campbell Barton [Sat, 22 Aug 2009 17:19:31 +0000 (17:19 +0000)]
[#19226] (2.5) blender uses deprecated 'strstream' STL class, causes warnings with gcc
thanks to Mauro Toffanin (equilibrium)

This is the only place where strstream were used.

12 years ago[#19229] 1 line fix resolves - segmentation Fault
Campbell Barton [Sat, 22 Aug 2009 17:11:36 +0000 (17:11 +0000)]
[#19229] 1 line fix resolves - segmentation Fault
from Martin Frances (martinfrances)

Added a scene check when appending objects so you can append data without a scene.

12 years agobpy's __rna__ attribute doesnt work as it should, since the parent classes __rna__...
Campbell Barton [Sat, 22 Aug 2009 17:06:10 +0000 (17:06 +0000)]
bpy's __rna__ attribute doesnt work as it should, since the parent classes __rna__ overrides the subtypes.

For now have pyrna_struct_as_srna look in the dict first for __rna__ before using PyDict_GetItemString.
Somehow __rna__ is not calling the pyrna_struct_getattro function, python find it first.

The only relyable way to get the rna from python currently is.

12 years agoBugfixing.
Joerg Mueller [Sat, 22 Aug 2009 16:54:18 +0000 (16:54 +0000)]

12 years agosvn merge -r22701:22704
Campbell Barton [Sat, 22 Aug 2009 14:23:54 +0000 (14:23 +0000)]
svn merge -r22701:22704

12 years agomissed this in last commit. keyboard event manager was stored twice.
Campbell Barton [Sat, 22 Aug 2009 14:19:27 +0000 (14:19 +0000)]
missed this in last commit. keyboard event manager was stored twice.

12 years agoMoved mesh display options to the 3D view n-key area, next to other display options.
William Reynish [Sat, 22 Aug 2009 11:51:26 +0000 (11:51 +0000)]
Moved mesh display options to the 3D view n-key area, next to other display options.
The DNA/RNA for these options should be changed to reflect this.

12 years agosvn merge -r22668:22701
Campbell Barton [Sat, 22 Aug 2009 10:57:07 +0000 (10:57 +0000)]
svn merge -r22668:22701

12 years ago- BGE, Some sensors, stored the event manager in 2 places (became confusing to do...
Campbell Barton [Sat, 22 Aug 2009 10:51:21 +0000 (10:51 +0000)]
- BGE, Some sensors, stored the event manager in 2 places (became confusing to do changes in this area)
- Change compiler warnings for linux/scons/C++

12 years agoTiny User Prefs tweaks. Also put the Save As Default button in header so it stays...
William Reynish [Sat, 22 Aug 2009 09:21:08 +0000 (09:21 +0000)]
Tiny User Prefs tweaks. Also put the Save As Default button in header so it stays put.

12 years agouse '' for enums rather then ""
Campbell Barton [Sat, 22 Aug 2009 08:48:01 +0000 (08:48 +0000)]
use '' for enums rather then ""

12 years ago2.5 MSVC projectfiles maintenance
Andrea Weikert [Sat, 22 Aug 2009 08:35:39 +0000 (08:35 +0000)]
2.5 MSVC projectfiles maintenance
* AUD_filefactory added.
* imbuf added to RNA include dirs.

12 years agoAdded extra padding for OS X at the top of the screen when opening user prefs. The...
William Reynish [Sat, 22 Aug 2009 08:06:54 +0000 (08:06 +0000)]
Added extra padding for OS X at the top of the screen when opening user prefs. The window header was still getting clipped slightly behind the menu bar.

12 years agoremove -Wnested-externs warning for CMake/unix, since this is used a lot, if we want...
Campbell Barton [Sat, 22 Aug 2009 05:46:03 +0000 (05:46 +0000)]
remove -Wnested-externs warning for CMake/unix, since this is used a lot, if we want to remove it can be re-enabled.
fix view3d python errors with no object/edit object.

12 years agoHook Modifier Bugfixes:
Joshua Leung [Sat, 22 Aug 2009 04:11:17 +0000 (04:11 +0000)]
Hook Modifier Bugfixes:

Fixed some typos made in previous commit. Hook Modifier should now work correctly again (and also for newly added Hook relationships)

* To add a hook, you currently need to perform the following steps
1) add modifier from menu (no operator in EditMode)
2) specify the object (and/or bone to use as the hook target)
3a) in EditMode, select the vertices you wish to be affected by the hook, and press 'Assign'
3b) alternatively, fill in the vertex-group field for the Vertex Group which contains the vertices to be affected
4) press 'Reset' (to make sure hook will behave correctly)
5) optionally, also press 'Recenter' if the hook position isn't right...

* BUG ALERT (Brecht/Ton): it is impossible to clear the vertexgroup/bone fields once you have assigned some value. Doing backspace+enter (or any other variation) will always result in the first item in the search menu being used.

12 years ago2.5 - Timeline now updates correctly after keyframes have been edited
Joshua Leung [Sat, 22 Aug 2009 03:10:52 +0000 (03:10 +0000)]
2.5 - Timeline now updates correctly after keyframes have been edited

12 years ago2.5 - Code shuffling
Joshua Leung [Sat, 22 Aug 2009 02:53:14 +0000 (02:53 +0000)]
2.5 - Code shuffling

Moved WeightPaint/VertexPaint toggling hotkeys to the same place that the ones for PoseMode/EditMode are defined. This means that the hotkey for toggling PoseMode works again (instead of being overwritten by WeightPaint).

12 years ago2.5/Vertex paint:
Nicholas Bishop [Sat, 22 Aug 2009 02:27:37 +0000 (02:27 +0000)]
2.5/Vertex paint:

* Added operator for filling vertex colors with the brush color
* Pythonized the vertex paint menu

12 years ago2.5/Multires:
Nicholas Bishop [Sat, 22 Aug 2009 01:01:53 +0000 (01:01 +0000)]

* Disabled multires subdivide button in editmode (again)

SVN weirdness:
I already did this in r22447. Somehow it got changed back -- but I can't find any log of it getting reverted, either in my email or on p.b.o. This is extremely weird!

12 years agoAdded standard hotkeys for standard features like copying, cutting, pasting, saving...
William Reynish [Sat, 22 Aug 2009 00:19:24 +0000 (00:19 +0000)]
Added standard hotkeys for standard features like copying, cutting, pasting, saving, loading.

Save - Ctrl S / Cmd S
Save As - Ctrl+Shift S / Cmd+Shift S
Open - Ctrl O / Cmd O
Open Recent - Ctrl+Shift O / Cmd+Shift O
New File - Ctrl N / Cmd N

Copy- Ctrl+C / Cmd+C
Cut- Ctrl+C / Cmd+C
Paste- Ctrl+V / Cmd+V
Select text- Ctrl+A / Cmd+A

Repeat Last Op - Ctrl+R / Cmd+R
Render - Ctrl+Return / Cmd+Return
Render Animation- Shift+Ctrl+Return / Shift+Cmd+Return
User Preferences - Ctrl+Comma / Cmd+Comma
Changed the important search menu to Space key.

Old hotkeys are still preserved, at least for now.

12 years agoUpdate Makefiles for audaspace.
Diego Borghetti [Fri, 21 Aug 2009 22:56:26 +0000 (22:56 +0000)]
Update Makefiles for audaspace.

This add support for: sdl, ffmpeg, openal, jack and sndfile.
We have new options:
WITH_OPENAL, default false
WITH_JACK, default false
WITH_SNDFILE, default false

and with this:
NAN_OPENAL, default /usr

NAN_JACK, default /usr
NAN_JACKCFLAGS, default -I$(NAN_JACK)/include/jack
NAN_JACKLIBS, default $(NAN_JACK)/lib/libjack.a

NAN_SNDFILE, default /usr
NAN_SNDFILELIBS, default $(NAN_SNDFILE)/lib/libsndfile.

Also add two new option on source/Makefile for jack and sndfile libs,
but only for linux, so let me know for other OS.

12 years agoSVN maintenance.
Guillermo S. Romero [Fri, 21 Aug 2009 22:06:19 +0000 (22:06 +0000)]
SVN maintenance.

12 years agoAudio file loading backend libsndfile!
Joerg Mueller [Fri, 21 Aug 2009 19:39:28 +0000 (19:39 +0000)]
Audio file loading backend libsndfile!

12 years ago2.5 Multires:
Nicholas Bishop [Fri, 21 Aug 2009 18:35:40 +0000 (18:35 +0000)]
2.5 Multires:

* Fixed doing a simple subdivide, rather than Catmull-Clark. Note that the first subdivision will still appear to be CC rather than simple, this is a bug we just have to live with for now.

12 years ago2.5/Multires:
Nicholas Bishop [Fri, 21 Aug 2009 18:15:50 +0000 (18:15 +0000)]

* Fixed multires subdivision of a sculpted object. Accidentally broke this when I fixed removing a multires modifier.

12 years agoMaterial buttons tweaks
William Reynish [Fri, 21 Aug 2009 17:53:27 +0000 (17:53 +0000)]
Material buttons tweaks

-Made Mirror and Transparency panels more consistent.
-Improved greying out, and better communicated the fact that alpha settings do work even if Ztransp/Ray Transp are not enabled. The results of low alpha and no Ztransp/Ray Transp look weird though - is this supposed to be supported?
-Added Flare panel for halo.
-Improved SSS panel.

12 years ago2.5 Object mode:
Nicholas Bishop [Fri, 21 Aug 2009 17:35:35 +0000 (17:35 +0000)]
2.5 Object mode:

* Made object mode an enum, shows better in the debugger
* Added a toggle mode to the set object mode operator
* Toggling a mode on and off goes back to the previous mode, not just object mode
* Changed the vertex mode and weight mode shortcuts to call the toggle mode operator

12 years ago2.5: Animation playback without sync option was slightly slower
Brecht Van Lommel [Fri, 21 Aug 2009 16:28:49 +0000 (16:28 +0000)]
2.5: Animation playback without sync option was slightly slower
than expected time, even when it could keep up. Changed the WM
timer logic a bit to always target the next frame time exactly,

12 years ago2.5: Load UI is now an operator property, and a user preference to
Brecht Van Lommel [Fri, 21 Aug 2009 14:33:53 +0000 (14:33 +0000)]
2.5: Load UI is now an operator property, and a user preference to
define what the default is, just like file compression for saving.

12 years ago2.5: layout.itemO now returns OperatorProperties to be filled in,
Brecht Van Lommel [Fri, 21 Aug 2009 12:57:47 +0000 (12:57 +0000)]
2.5: layout.itemO now returns OperatorProperties to be filled in,
when passing properties=True as argument.

Other changes:
* uiItemR, uiItemFullR, uiItemFullO now accept a flag argument rather
  than multiple different "boolean" arguments, but still exposed as
  booleans to python.
* Fix RNA to support setting PROP_RNAPTR for return values.

12 years agobug fix #18982
Jens Ole Wund [Fri, 21 Aug 2009 12:49:21 +0000 (12:49 +0000)]
bug fix #18982
non mesh objects missing initializers

12 years ago2.5:
Thomas Dinges [Fri, 21 Aug 2009 11:52:20 +0000 (11:52 +0000)]

* Deleted Help scripts, there are now operators in

* Some code cleanup.

12 years agoAck... committed wrong file before (fortunately it was just a harmless comment added)
Joshua Leung [Fri, 21 Aug 2009 11:22:38 +0000 (11:22 +0000)]
Ack... committed wrong file before (fortunately it was just a harmless comment added)

12 years ago2.5 - 2 Bugfixes
Joshua Leung [Fri, 21 Aug 2009 11:04:33 +0000 (11:04 +0000)]
2.5 - 2 Bugfixes

* Alt-S in Object Mode would crash. Was caused by modal-keymaps for Pose Mode not being cleared when not in Pose Mode.
Also fixed what appears to have been a copy+paste error for Armature Sketching keymaps.

* Active KeyingSet menu in TimeLine header is now properly editable. Was using the wrong type of layout call to do this.

12 years agoHook Modifier - Bone Targets
Joshua Leung [Fri, 21 Aug 2009 10:47:27 +0000 (10:47 +0000)]
Hook Modifier - Bone Targets

Made Hook Modifier be able to use bone targets. However, I haven't been able to verify that everything will work perfectly, since just creating a new Hook Modifier and assigning targets doesn't set hmd->indexar correctly.

12 years agohave texture paint use the curve rather then the falloff setting (falloff gave ugly...
Campbell Barton [Fri, 21 Aug 2009 07:19:06 +0000 (07:19 +0000)]
have texture paint use the curve rather then the falloff setting (falloff gave ugly center area of 100% opacity)

12 years ago2.5/Paint:
Nicholas Bishop [Fri, 21 Aug 2009 06:23:38 +0000 (06:23 +0000)]

* Updated texture paint UI for stroke settings.
* Removed duplicate brush blend types, just use the ones defined in imbuf instead

12 years agosvn merge -r22625:22668
Campbell Barton [Fri, 21 Aug 2009 03:09:27 +0000 (03:09 +0000)]
svn merge -r22625:22668

needed this for 2.5 testing

12 years agofix for own bug added since 2.49a,
Campbell Barton [Fri, 21 Aug 2009 03:06:36 +0000 (03:06 +0000)]
fix for own bug added since 2.49a,
2.49a tries to remove the object from the conversion list every time. Now remove from the conversion list directly without being apart of the remove object function.

12 years ago2.5: Modifiers & Menus
Brecht Van Lommel [Fri, 21 Aug 2009 02:51:56 +0000 (02:51 +0000)]
2.5: Modifiers & Menus

* Popup menus now remember the last clicked item again.
* Modifier and File Format menus are now organized in multiple
  columns with categories.
* Hook, explode, uv project modifiers have all their buttons
  again with the relevant operators implemented.
* Modifiers that can't be added by the user, or don't work on
  curves for example, are not in the menu anymore.
* Fix search menu overlapping buttons when near the bottom of
  the screen.
* Fix uv layers search menu not working in some modifiers.
* Cleanup popup menu code a bit, layout engine is used in more
  cases now instead of ugly position calculation code.

12 years ago2.5 Paint:
Nicholas Bishop [Fri, 21 Aug 2009 00:46:36 +0000 (00:46 +0000)]
2.5 Paint:

* Added airbrush and airbrush rate options to paint stroke. Works for sculpt, vertex paint, and weight paint.

12 years agoView3D: shift+c center the view but no the cursor like 2.4x
Diego Borghetti [Thu, 20 Aug 2009 21:09:48 +0000 (21:09 +0000)]
View3D: shift+c center the view but no the cursor like 2.4x

Probably missing because is not inside view3d_home, it's in the main
winqreadview3dspace function.

12 years ago2.5 Paint:
Nicholas Bishop [Thu, 20 Aug 2009 19:46:53 +0000 (19:46 +0000)]
2.5 Paint:

* Evil backbuf drawing strikes again. In paint modes, it was causing the tool panel to flash black, bad glScissor.

12 years ago2.5 filebrowser
Andrea Weikert [Thu, 20 Aug 2009 18:39:25 +0000 (18:39 +0000)]
2.5 filebrowser
* code cleanup: remove duplication in drawing, join list and preview drawing

12 years agoAdd unsigned char buffer to BLF_draw_buffer and update makefiles for lzo and lzma.
Diego Borghetti [Thu, 20 Aug 2009 18:34:14 +0000 (18:34 +0000)]
Add unsigned char buffer to BLF_draw_buffer and update makefiles for lzo and lzma.

I rename the original makefile of lzo (Makefile.bak) and a new one.
Also four new option for
WITH_LZO, default true
WITH_LZMA, default true
NAN_LZO, default extern/lzo
NAN_LZMA, default extern/lzma

It's easy add support for system libs (using lzo and lzma from OS) but I don't
know if it have much sense.

Note that I can't test the "unsigned char" buffer because the OGL animation
is not working (right ?), but is the same code that for float also the new
Makefile work fine here (Linux), but maybe need some tweak on other OS.

12 years ago2.5 Texture RNA:
Thomas Dinges [Thu, 20 Aug 2009 17:59:37 +0000 (17:59 +0000)]
2.5 Texture RNA:
Distorted Noise: "Distortion" Flag was swapped with "Basis".
Reported by schuh in IRC. Thanks.

12 years ago2.5 Multires:
Nicholas Bishop [Thu, 20 Aug 2009 17:37:38 +0000 (17:37 +0000)]
2.5 Multires:

* Fixed a memory corruption bug when deleting a multiresmodifier, was hanging on to a bad pointer. Reported on IRC by lusque

12 years ago2.5 texture paint:
Nicholas Bishop [Thu, 20 Aug 2009 16:43:55 +0000 (16:43 +0000)]
2.5 texture paint:

* Little bugfix, was passing an invalid pointer

12 years ago2.5 Paint:
Nicholas Bishop [Thu, 20 Aug 2009 16:00:17 +0000 (16:00 +0000)]
2.5 Paint:

* Weight paint and vertex paint now use the same cursor setup as sculpt

12 years agochanged layout of PovRay radiosity panel to be more consistent with other render...
William Reynish [Thu, 20 Aug 2009 15:58:28 +0000 (15:58 +0000)]
changed layout of PovRay radiosity panel to be more consistent with other render panels

12 years ago2.5 weight paint:
Nicholas Bishop [Thu, 20 Aug 2009 15:25:12 +0000 (15:25 +0000)]
2.5 weight paint:

* Refactored weight paint to use the new stroke code, now does smooth stroke and stroke spacing.

Note: weight paint is failing to free it's MocNodes in 2.5, someone might want to look into that

12 years ago* cleaning and simplification
Matt Ebb [Thu, 20 Aug 2009 13:45:04 +0000 (13:45 +0000)]
* cleaning and simplification

12 years agoSwapped some icons in the node editor. The Render Layers menu was using wrong icon...
William Reynish [Thu, 20 Aug 2009 11:38:09 +0000 (11:38 +0000)]
Swapped some icons in the node editor. The Render Layers menu was using wrong icon, for example.

12 years agoupdate MSVC project files.
Benoit Bolsee [Thu, 20 Aug 2009 09:18:55 +0000 (09:18 +0000)]
update MSVC project files.

12 years agoSmoke:
Daniel Genrich [Thu, 20 Aug 2009 09:13:57 +0000 (09:13 +0000)]
* Fix for OpenGL domain scaling/rotating/translating reported by Wahooney

12 years agoSmoke:
Daniel Genrich [Thu, 20 Aug 2009 09:00:23 +0000 (09:00 +0000)]
* Fixing my fix for opengl GL_BLEND

12 years agoSmoke:
Daniel Genrich [Thu, 20 Aug 2009 08:59:09 +0000 (08:59 +0000)]
* Fix OpenGL drawing resulting (at least on windows) in missing panels when switching fullscreen + back

12 years ago* a few more small cleanups
Matt Ebb [Thu, 20 Aug 2009 08:18:54 +0000 (08:18 +0000)]
* a few more small cleanups

12 years ago2.5/Sculpt:
Nicholas Bishop [Thu, 20 Aug 2009 05:44:32 +0000 (05:44 +0000)]

* Fixed sculpt brush stroke exec (F4 operator)
* Made a generic paint stroke exec

12 years ago2.5/Paint:
Nicholas Bishop [Thu, 20 Aug 2009 05:13:07 +0000 (05:13 +0000)]

* Converted vertex paint to use the new stroke system. Now supports the same smooth stroke and stroke spacing as sculpt mode.
* Refactored the paint cursor a bit, just sculpt for now but other modes soon.
* A couple warning fixes