Campbell Barton
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
Campbell Barton
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
Andrea Weikert
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
Ton Roosendaal
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
Brecht Van Lommel
5dcb853ed9
Fix #27660 : texture space panel was missing for curve & metaballs, now they
...
have same panel as mesh. Patch by Ronan Ducluzeau, thanks!
2011-06-17 13:53:47 +00:00
Campbell Barton
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
Campbell Barton
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
Daniel Salazar
46ef1bb170
adding .m4a video extension
2011-06-17 08:50:47 +00:00
Campbell Barton
758450ee49
BGE: Camera.getScreenPosition wasn't working because of an unhandled exception when called with a non vector argument (object or object name).
2011-06-17 07:27:27 +00:00
Daniel Salazar
1563ae8098
aiff too
2011-06-17 07:18:51 +00:00
Daniel Salazar
28f347dc42
Adding .aif to known audio extensions so it doesn't get hiden by default
2011-06-17 07:15:36 +00:00
Campbell Barton
775ea4de92
fix for memory leak converting an idproperty group into a dict
2011-06-17 05:56:17 +00:00
Campbell Barton
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
Campbell Barton
ac089ddd15
fix for drawing bones names twice in object with viewport 'Outline' option enabled.
2011-06-17 03:17:07 +00:00
Campbell Barton
897b570c1a
ulti line formatting for PyErr_Format calls (no functional change)
2011-06-17 02:26:34 +00:00
Campbell Barton
1356082063
fix [ #27681 ] Python: crash assigning a 'set' to an array
2011-06-17 02:22:38 +00:00
Nathan Letwory
1d3a025e0a
Fix [ #27666 ] Python/Windows issue: "import uuid" results in an error popup
...
submitted by Gaia Clary
Ignore msvc runtime libs while linking. Tested on win64.
2011-06-17 00:30:04 +00:00
Ton Roosendaal
5ef551c97e
Small todo item: outliner display actions were sending undo pushes, not needed
...
for UI stuff.
2011-06-16 17:14:38 +00:00
Brecht Van Lommel
30823cbb87
Python Docs: update layout.html to match blender.org development submenu changes.
2011-06-16 16:13:26 +00:00
Campbell Barton
dce577ad85
use directory selector for properties defined as PROP_DIRPATH, user preferences 'File' buttons for eg.
2011-06-16 15:28:39 +00:00
Campbell Barton
fd24c99b5d
directory only filesel for operators which don't have a filepath or filename property.
2011-06-16 15:01:22 +00:00
Campbell Barton
216ba20942
fix [ #27671 ] Transforming sequencer effects strips crashes
2011-06-16 12:48:25 +00:00
Campbell Barton
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
Campbell Barton
3ede710a3c
fix for baking actions for objects with no animation data.
2011-06-16 07:48:22 +00:00
Campbell Barton
4a5a9dc71c
fix for own error in r37542
2011-06-16 07:02:33 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
2e8ca6d196
include some extra search paths for cmake openexr
2011-06-16 02:55:26 +00:00
Campbell Barton
0575c05eb0
fix to FindOpenEXR pointed out by Sergey Sharybin,
...
also added check for IlmThread and marked individual library cache variables as advanced.
2011-06-16 02:48:07 +00:00
Mitchell Stokes
1c0a6c6468
Blenderplayer: Setting G.main to NULL after it's freed to avoid issues later with GPU_free_images()
2011-06-15 23:43:02 +00:00
Mitchell Stokes
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
Campbell Barton
08c155845d
remove unused arguments
2011-06-15 14:06:25 +00:00
Campbell Barton
04c5f054d8
error in recent commit
2011-06-15 14:00:50 +00:00
Campbell Barton
c02121b708
use full library paths for openexr & msvc, also remove unneeded exr includes
2011-06-15 13:54:57 +00:00
Campbell Barton
bb6e0834e0
cmake: combine debug/optimized into one target_link_libraries() call.
2011-06-15 13:42:02 +00:00
Campbell Barton
4f3936083a
replace own inline cmake include search logic for a typical FindXXX.cmake module.
2011-06-15 12:09:02 +00:00
Campbell Barton
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
Brecht Van Lommel
39443dcb53
Code cleanup: remove reference to workob global that no longer exists.
2011-06-15 10:19:35 +00:00
Brecht Van Lommel
aaf7dae5f1
Code cleanup: remove unused shaded draw mode code.
2011-06-15 10:17:06 +00:00
Brecht Van Lommel
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
Campbell Barton
b09bb948ee
fix [ #27658 ] Bake action operator error on non armature objects
...
add support for baking object transformations too, also add option to clear constraints (off by default).
2011-06-15 06:25:05 +00:00
Campbell Barton
1669ab6648
correction for own commit r37492
2011-06-15 02:17:39 +00:00
Campbell Barton
b89924f5dd
de-duplicate multires image filter function. (no functional change)
2011-06-15 02:14:38 +00:00
Campbell Barton
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
Campbell Barton
62ba2d4c68
Changes to quick explode
...
- fix python error when the object had an empty material slot
- initialize start frame from the current frame
- set frame range to 300000 max (which is blenders own maximum)
- mesh order was arbitrary, instead use selected -> active, removed invert option.
also fix for missing include in bpy_extras.view3d_utils
2011-06-15 00:16:30 +00:00
Ton Roosendaal
3fe26d7093
RGB curve widget follows user preference DPI now too.
2011-06-14 17:48:42 +00:00
Ton Roosendaal
cc2c511207
Nodes display now follow 'DPI' user pref too
2011-06-14 15:55:46 +00:00
Campbell Barton
23e2bfed23
fix [ #25423 ] Mirror clipping is ignored with single vertex extrusion when using Face Snapping.
2011-06-14 11:18:00 +00:00
Ton Roosendaal
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
Campbell Barton
ce914e51ab
fix [ #27659 ] Segfault when adding None to a group
2011-06-14 09:41:29 +00:00