blender.git
10 years agoSmoke:
Daniel Genrich [Tue, 25 Aug 2009 23:39:49 +0000 (23:39 +0000)]
Smoke:
*Bugfix for crash on using a plane as smoke domain (reported by DingTo)
* Bringing slowly high res back, not yet working

10 years agoUnconditionally define WITH_OPENEXR.
Guillermo S. Romero [Tue, 25 Aug 2009 22:56:08 +0000 (22:56 +0000)]
Unconditionally define WITH_OPENEXR.
Compiling openexr_api.cpp requires WITH_OPENEXR, to get the right part of the
openexr_multi.h file. Broken since r22739.

10 years agoremove all python api functions deprecated in 2.49
Campbell Barton [Tue, 25 Aug 2009 22:51:18 +0000 (22:51 +0000)]
remove all python api functions deprecated in 2.49

10 years agoSmoke:
Daniel Genrich [Tue, 25 Aug 2009 21:53:52 +0000 (21:53 +0000)]
Smoke:
* Deleting high res modifier again
* fixing smoke + continue physics drawing
* fixing cache reset when changing dissolve

10 years agoUpdate Makefile and missing include on voxeldata.c
Diego Borghetti [Tue, 25 Aug 2009 21:25:41 +0000 (21:25 +0000)]
Update Makefile and missing include on voxeldata.c

Note that With libsndfile also need libflac and libogg here (Linux), right
now I just add this two librarys to the NAN_SNDFILELIBS, but maybe
it's better split this ? (NAN_FLAC/NAN_OGG)

10 years agolibsndfile is not available yet for darwin, builders feel free to add the lib!
Joerg Mueller [Tue, 25 Aug 2009 20:42:21 +0000 (20:42 +0000)]
libsndfile is not available yet for darwin, builders feel free to add the lib!

10 years agoSmoke:
Daniel Genrich [Tue, 25 Aug 2009 20:22:40 +0000 (20:22 +0000)]
Smoke:
* reset cache when changing heat or gravity

10 years agoPointcache:
Daniel Genrich [Tue, 25 Aug 2009 19:58:42 +0000 (19:58 +0000)]
Pointcache:
*forgot 1 rename

10 years agoPointcache:
Daniel Genrich [Tue, 25 Aug 2009 18:53:20 +0000 (18:53 +0000)]
Pointcache:
* change function names

10 years agoPointcache:
Daniel Genrich [Tue, 25 Aug 2009 18:41:36 +0000 (18:41 +0000)]
Pointcache:
*introducing unique ID's following brechts hint from ML

Enhancements resulting from this:
* multiple caches per modifier stack position

10 years agoblender 2.5 MSVC projectfiles
Andrea Weikert [Tue, 25 Aug 2009 17:32:01 +0000 (17:32 +0000)]
blender 2.5 MSVC projectfiles
* update for bpy_array.c

10 years agoImplemented dynamic and multidimensional array support in RNA.
Arystanbek Dyussenov [Tue, 25 Aug 2009 17:06:36 +0000 (17:06 +0000)]
Implemented dynamic and multidimensional array support in RNA.

Example code: http://www.pasteall.org/7332/c.
New API functions: http://www.pasteall.org/7330/c.

Maximum number of dimensions is currently limited to 3, but can be increased arbitrarily if needed.

What this means for ID property access:

* MeshFace.verts - dynamic array, size 3 or 4 depending on MFace.v4
* MeshTextureFace.uv - dynamic, 2-dimensional array, size depends on MFace.v4
* Object.matrix - 2-dimensional array

What this means for functions:

* more intuitive API possibility, for example:
  Mesh.add_vertices([(x, y, z), (x, y, z), ...])
  Mesh.add_faces([(1, 2, 3), (4, 5, 6), ...])

Python part is not complete yet, e.g. it is possible to:

MeshFace.verts = (1, 2, 3) # even if Mesh.verts is (1, 2, 3, 4) and vice-versa
MeshTextureFace.uv = [(0.0, 0.0)] * 4 # only if a corresponding MFace is a quad

but the following won't work:

MeshTextureFace.uv[3] = (0.0, 0.0) # setting uv[3] modifies MTFace.uv[1][0] instead of MTFace.uv[3]

10 years agoblender 2.5 MSVC projectfiles
Andrea Weikert [Tue, 25 Aug 2009 17:05:04 +0000 (17:05 +0000)]
blender 2.5 MSVC projectfiles
* update for volume rendering
* update for audaspace jack
* update for rna: animation_api.c, scene_api.c

10 years agoReplaced G.sce by Main.name in sound.c.
Joerg Mueller [Tue, 25 Aug 2009 15:30:04 +0000 (15:30 +0000)]
Replaced G.sce by Main.name in sound.c.
I hoped for it to resolve the bug of loading sounds with relative paths didn't work, but Main.name isn't set before the sounds are loaded, so the bug resists!
Someone who is into file loading should please fix this!

10 years ago2.5 Material Buttons:
Thomas Dinges [Tue, 25 Aug 2009 14:26:27 +0000 (14:26 +0000)]
2.5 Material Buttons:

* Fixed some poll checks, they showed empty panels when there was no active material.
* Some minor code/whitespace cleanup.

10 years agoremove gameOb.has_key(key) method from KX_GameObject and ListValue since python 3...
Campbell Barton [Tue, 25 Aug 2009 13:54:56 +0000 (13:54 +0000)]
remove gameOb.has_key(key) method from KX_GameObject and ListValue since python 3.x removes has_key from dictionaries.
Instead use __contains__, eg.
 if key in gameOb: ...

Mathutils returns from PyMath.cpp were incorrectly using wrapped Mathutils types. Wrapped types should only be used with a callback now.

10 years agopatch from Mitchell Stokes adding dictionary like access to a scene. (like KX_GameObj...
Campbell Barton [Tue, 25 Aug 2009 13:43:21 +0000 (13:43 +0000)]
patch from Mitchell Stokes adding dictionary like access to a scene. (like KX_GameObjects have)

val = scene["prop"]
scene["prop"] = newval
if "prop" in scene: ...
val = scene.get("prop", fallback_val)

10 years agoMoved the autokey mode menu from the timeline header into the timeline menus. Its...
William Reynish [Tue, 25 Aug 2009 12:31:35 +0000 (12:31 +0000)]
Moved the autokey mode menu from the timeline header into the timeline menus. Its previous prominent large size made it seem like this setting was very important, when in fact it's a setting you are almost never likely to touch. This helps clean up the main UI.

10 years ago== SCons ==
Nathan Letwory [Tue, 25 Aug 2009 10:56:01 +0000 (10:56 +0000)]
== SCons ==
* Add sndfile support (False by default).
  Note: for this to work, make sure that FFMPEG-support is disabled.

10 years ago2.5 - Keying Sets Bugfix
Joshua Leung [Tue, 25 Aug 2009 10:32:53 +0000 (10:32 +0000)]
2.5 - Keying Sets Bugfix

Single-value properties in KeyingSets were not getting keyframed.

10 years ago* removed misleading comments. In short: NEVER EVER copy platform defaults in their...
Nathan Letwory [Tue, 25 Aug 2009 09:47:14 +0000 (09:47 +0000)]
* removed misleading comments. In short: NEVER EVER copy platform defaults in their entirety as your user-config.py.
  I'm taking this commit log as an opportunity to also remind people of the existance of doc/blender-scons.txt .
  If you're a user reading these commit logs, and you haven't pre-ordered the Durian DVD yet, do so now: http://www.blender3d.org/e-shop/product_info_n.php?products_id=120

10 years agoSmall error detected by valgrind, thanks cam
Matt Ebb [Tue, 25 Aug 2009 08:11:37 +0000 (08:11 +0000)]
Small error detected by valgrind, thanks cam

10 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:
http://wiki.blender.org/index.php/User:Broken/VolumeRenderingDev

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

10 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.

10 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:
http://www.pasteall.org/blend/552

Notes:
- 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.

10 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.

10 years agosvn merge -r 22628:22753 https://svn.blender.org/svnroot/bf-blender/branches/blender2... volume25
Matt Ebb [Tue, 25 Aug 2009 01:37:08 +0000 (01:37 +0000)]
svn merge -r 22628:22753 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender

10 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.

10 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

10 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.

10 years agoSmoke:
Daniel Genrich [Mon, 24 Aug 2009 21:39:48 +0000 (21:39 +0000)]
Smoke:
*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)

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

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

10 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.

10 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

10 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.

10 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)

10 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.

10 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

10 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.

10 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

10 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!

10 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.

10 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.

10 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

10 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.

10 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

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

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.

http://www.reynish.com/files/blender25/actionbuttons_new.png

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.

10 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)

10 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

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

* Deleted unused file

10 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.

10 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.

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

10 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22704:22717
Campbell Barton [Sun, 23 Aug 2009 07:46:34 +0000 (07:46 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22704:22717

10 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

10 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.

10 years agosvn merge -r 22628:22714 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
Matt Ebb [Sun, 23 Aug 2009 03:33:33 +0000 (03:33 +0000)]
svn merge -r 22628:22714 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.
bpy.types.SomeType.__dict__['__rna__']

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

10 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22701:22704
Campbell Barton [Sat, 22 Aug 2009 14:23:54 +0000 (14:23 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22701:22704

10 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.

10 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.

10 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22668:22701
Campbell Barton [Sat, 22 Aug 2009 10:57:07 +0000 (10:57 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22668:22701

10 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++

10 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.

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

10 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.

10 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.

10 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.

10 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)

Notes:
* 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.

10 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

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

10 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

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

* 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!

10 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.

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

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

Misc:
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.

10 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_SNDFILECFLAGS, default -I$(NAN_SNDFILE)/include
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.

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

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

10 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.

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

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

10 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.

10 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

10 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,

10 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.

10 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.

10 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

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

* Deleted Help scripts, there are now operators in space_info.py.

* Some code cleanup.

10 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)

10 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.

10 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.

10 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)

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

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

10 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22625:22668
Campbell Barton [Fri, 21 Aug 2009 03:09:27 +0000 (03:09 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22625:22668

needed this for 2.5 testing