Commit Graph

23779 Commits

Author SHA1 Message Date
145944d66f cmake:
new macro file_list_suffix() for adding a suffix to every file in a path before the file extension.
 useful to create names for debug libs on windows.
2011-06-19 06:57:56 +00:00
f31bae0aab fixed possible use of uninitialized variable. 2011-06-19 01:23:50 +00:00
31093223cd SVN maintenance. 2011-06-18 23:22:55 +00:00
968b2a8afb rename cmake include/libraries to conform with suggested cmake names 2011-06-18 14:12:54 +00:00
1283b07409 use ascii drawing function where utf8 isnt needed. 2011-06-18 09:01:26 +00:00
82216030e9 py-api: store frequently used strings as unicode PyObject's to avoid creating/distroying every time.
also fix for cmake warning
2011-06-18 08:45:45 +00:00
f7e22c729e throw an error if preprocessor definitions are used for DNA array lengths (previously would fail silently & not work right). 2011-06-18 03:14:24 +00:00
64d02584e1 fix fileselect for images from sequencer
* recent code to provide directory only fileselect broke selection of images with 'A' (rev. rev. 37552.)
2011-06-17 21:24:05 +00:00
f69d805338 Bugfix, irc report:
Adding new material in active node didn't update the material
properties buttons.
2011-06-17 13:57:41 +00:00
b306566a44 fix [#25598] projection surface snap issue
Excuse the thrashing, this is from r35438, reverted r35444 under the _wrong_ impression Martin considered unacceptable.
2011-06-17 13:02:23 +00:00
68a12c74b6 fix [#26621] Memory leaks when creating popup window.
also fixes memory leak when cancelling a popup dialog (new image for example).
2011-06-17 12:48:33 +00:00
46ef1bb170 adding .m4a video extension 2011-06-17 08:50:47 +00:00
1563ae8098 aiff too 2011-06-17 07:18:51 +00:00
28f347dc42 Adding .aif to known audio extensions so it doesn't get hiden by default 2011-06-17 07:15:36 +00:00
775ea4de92 fix for memory leak converting an idproperty group into a dict 2011-06-17 05:56:17 +00:00
7cbc4c0dd7 IDProperty python module update
- add support for IDProp array slicing, but not resizing.
- rename array attribute type to typecode and use chars 'f', 'd', 'i' which match pythons array module. (was using int's which only have a meaning internally).
- rename function 'convert_to_pyobject' to 'to_dict' and 'to_list' for IDProp group and array types respectively.
- remove 'len' array attribute, calling len(array) is fine.
2011-06-17 05:45:46 +00:00
ac089ddd15 fix for drawing bones names twice in object with viewport 'Outline' option enabled. 2011-06-17 03:17:07 +00:00
897b570c1a ulti line formatting for PyErr_Format calls (no functional change) 2011-06-17 02:26:34 +00:00
1356082063 fix [#27681] Python: crash assigning a 'set' to an array 2011-06-17 02:22:38 +00:00
0e7a42ebfa Made Multi-Paint and Locking more independent to better support future features.
(an if statement surrounding Multi-Paint still checks the lock flags to see if it should bother changing anything)

Also, I changed lock's redistribution method so that if there was no enough space
on other unlocked groups, it tries to keep the new weights' ratios to each other
2011-06-16 19:05:05 +00:00
5ef551c97e Small todo item: outliner display actions were sending undo pushes, not needed
for UI stuff.
2011-06-16 17:14:38 +00:00
dce577ad85 use directory selector for properties defined as PROP_DIRPATH, user preferences 'File' buttons for eg. 2011-06-16 15:28:39 +00:00
fd24c99b5d directory only filesel for operators which don't have a filepath or filename property. 2011-06-16 15:01:22 +00:00
216ba20942 fix [#27671] Transforming sequencer effects strips crashes 2011-06-16 12:48:25 +00:00
f227c4a064 fix [#27675] Bones shift out of place when leaving edit mode
- float precision issue, details commented in the source.
2011-06-16 07:59:22 +00:00
4a5a9dc71c fix for own error in r37542 2011-06-16 07:02:33 +00:00
0a998decb6 fix [#27673] Value sliders >1 do not represent numerical ratios right
the soft limits for array buttons not take into account the min/max of all array elements
2011-06-16 06:47:54 +00:00
051dedeeec minor speedup for UI draw code, noticed ui_get_but_val() could be called 3-5 times per button draw,
for RNA buttons this gets the entire array for each call so its not great to call many times.
2011-06-16 06:00:02 +00:00
a3e296fc40 Committing patch #25676 Anisotropic filtering in viewport and BGE by me.
This patch adds anisotropic filtering of textures in the viewport and the BGE. The quality of the filtering is adjustable in the user preferences under System. For more information on anisotropic filtering:
http://en.wikipedia.org/wiki/Anisotropic_filtering

One current limitation of this setup (having the option a user preference) is it makes runtimes more troublesome. Runtimes don't have user preferences set, so for now the blender player defaults to 2x AF. Options will be added later to change this value (probably a command line option).
2011-06-15 18:59:22 +00:00
08c155845d remove unused arguments 2011-06-15 14:06:25 +00:00
4f3936083a replace own inline cmake include search logic for a typical FindXXX.cmake module. 2011-06-15 12:09:02 +00:00
2164847928 fix for openexr include path, for both cmake and scons a custom openexr install wouldn't work since it expected BF_OPENEXR/include and BF_OPENEXR/include/OpenEXR to be in the search path. 2011-06-15 11:50:45 +00:00
39443dcb53 Code cleanup: remove reference to workob global that no longer exists. 2011-06-15 10:19:35 +00:00
aaf7dae5f1 Code cleanup: remove unused shaded draw mode code. 2011-06-15 10:17:06 +00:00
5e41807135 Fix #27654: vertex parenting not working with constructive modifiers.
Vertex parents were not requesting the original index layer, now do this as
part of depsgraph building, and make constraints with vertex groups use the
same system. Fix is based on patch by Campbell, but with some changes.
2011-06-15 09:45:26 +00:00
1669ab6648 correction for own commit r37492 2011-06-15 02:17:39 +00:00
b89924f5dd de-duplicate multires image filter function. (no functional change) 2011-06-15 02:14:38 +00:00
1d41694e69 fix [#27662] Storing png/tga images ignore Alpha settings
- don't clear alpha when baking RGB images
- when baking results in partial alpha. set the depth to 32.
2011-06-15 01:56:49 +00:00
53baa881b2 Made Multi-Paint support vertices containing locked groups
Changed locking system to check the amount of space in unlocked groups ahead of time.
2011-06-14 19:11:01 +00:00
3fe26d7093 RGB curve widget follows user preference DPI now too. 2011-06-14 17:48:42 +00:00
cc2c511207 Nodes display now follow 'DPI' user pref too 2011-06-14 15:55:46 +00:00
23e2bfed23 fix [#25423] Mirror clipping is ignored with single vertex extrusion when using Face Snapping. 2011-06-14 11:18:00 +00:00
113d653edb Bugfix #27573
Sculpt and Paint undo steps kept hanging in the sculpt/paint modes.
Now undo will switch back to global undo, and redo enter the mode 
again. Just like weight/vertex paint.
2011-06-14 09:55:38 +00:00
ce914e51ab fix [#27659] Segfault when adding None to a group 2011-06-14 09:41:29 +00:00
5fd9bd8bc9 Fixed weird assignment inside condition statement. 2011-06-14 07:33:25 +00:00
f4452b2ee7 revert own fix for [#27648], looks like this needs to work differently to be fixed. 2011-06-14 05:19:16 +00:00
991634c147 own mistake in recent mask commit. 2011-06-14 04:19:00 +00:00
c0dc197257 edit DAG defines to make it easier to add more & modify. 2011-06-14 04:05:58 +00:00
d3dbd2f5b4 mask modifier: replace bone hash lookup with a boolean array to quickly check selection state.
simple test gives ~28% speedup in building the vertex hash. (no functional change)
2011-06-14 02:26:43 +00:00
dd3b729d62 mask modifier was taking into account zero weighted verts. 2011-06-14 01:54:03 +00:00