Campbell Barton
d163ce5595
bpy fix for crash/assert on running dir() on a non collection property + some other minor corrections.
2011-07-30 13:18:04 +00:00
Ton Roosendaal
681b26a48e
Bugfix #28109
...
Old issue with OSX Cocoa code: shift+scrollwheel should send
a 'horizontal wheel' event to Blender. Blender only recognizes
scroll events in general though. The old code then just didn't
send an event at all, not passing on shift+scrolls.
Now the scroll event is sent anyway, relying on Blender's
keymapping to define what to do with shift+scroll.
This fixes things like shift+scroll to scale ListBox widgets.
2011-07-30 10:14:50 +00:00
Campbell Barton
f66ec41b6a
quiet some compiler warnings & fix possible (but unlikely) crash.
...
also added GPLv2+ header to resources.c.
2011-07-30 09:24:10 +00:00
Thomas Dinges
6a27da310c
While looking at the bug report, found some more issues...
...
This is the result of RNA renaming at it's glance. ;-)
2011-07-29 20:59:46 +00:00
Thomas Dinges
99997ccd18
Fix for [ #28117 ] Diffuse reflection IPO curve not imported correctly from 2.49b files
2011-07-29 20:46:30 +00:00
Alexander Kuznetsov
6b987910e4
Patch [ #27925 ] by Andrew Cox and me
...
Modifier key sticks after Alt-tab on Win32
2011-07-29 20:21:37 +00:00
Lukas Toenne
fb738f4929
When relinking node group outputs from sockets of different type, automatically change the output to the source type. Feature request by Daniel Salazar.
2011-07-29 07:14:03 +00:00
Campbell Barton
2658949752
pep8 cleanup, also print message when attempting to run in animation player mode.
2011-07-29 01:24:03 +00:00
Thomas Dinges
336a47cdcf
* Code cleanup
...
A row with alignment for 1 property = useless: ;-)
2011-07-28 18:19:15 +00:00
Brecht Van Lommel
6d2754e07d
Fix #27719 : custom RNA properties fail to update drivers. Hopefully this is
...
not too slow, but now we do a dependency graph tag also for these in addition
to regular ID properties, not sure how to get around it.
2011-07-28 15:51:59 +00:00
Brecht Van Lommel
b8dcf3a662
Fix part of #27944 : color managment discrepancy in GLSL materials with nodes.
2011-07-28 14:28:27 +00:00
Campbell Barton
b948459031
fix [ #28096 ] Custom gradient for weightpainting in mask mode not working properly.
2011-07-28 12:17:24 +00:00
Sergey Sharybin
2dc826f083
New option for multires modifier: Subdivide UVs
...
Enabled by default and also enabled for older filesm so
there should be no regressions.
In some cases it's useful to not use subdivided uvs for multires.
2011-07-28 11:16:10 +00:00
Campbell Barton
722474a7ea
fix [ #28095 ] Select Pattern don't select all the bone in edit mode
...
& some style changes.
2011-07-28 07:55:09 +00:00
Campbell Barton
b71ccf3e06
fix error in writing dupligroups for X3D export, may have effected other exporters too.
2011-07-28 07:10:39 +00:00
Campbell Barton
e2522cead2
report an error when user blender versions other then 2.4x for animation playback.
2011-07-28 05:09:31 +00:00
Campbell Barton
784a68e8f1
sequencer add strips now check for overlap by default (option can be disabled for python when this can become problematic for automation).
2011-07-28 03:44:17 +00:00
Campbell Barton
0facd795f8
automatically update the redirect from http://www.blender.org/documentation/250PythonDoc/ when uploading docs
2011-07-28 03:08:35 +00:00
Campbell Barton
a5631dba89
only initialize snap from the scene settings for view3d and image spaces since snap in the 3D view was enabling snap in the graph editor and sequencer without a button to disable it in those spaces.
2011-07-28 02:15:58 +00:00
Nathan Letwory
7e87165eea
Don't write library_materials tag when there are no materials.
2011-07-28 00:08:03 +00:00
Dalai Felinto
f532ccedf5
refix for #27912 : crash after mesh.materials.pop() (fixed wrongly on rev. 38299 - patch by Benoit Boilsee
...
bug spotted while reviewing a patch.
things are working now
2011-07-27 20:36:11 +00:00
Campbell Barton
7e466266d3
fix [ #28098 ] Continuous Grab does not work for movement of the "Backdrop" in the Node Editor
2011-07-27 17:49:35 +00:00
Campbell Barton
3b6cb504b1
minor warning fixes for clang-static-checker
2011-07-27 13:03:56 +00:00
Campbell Barton
46cea37266
fix [ #28066 ] Unchecking 'self project' messes up 'Snap to Vertex'
...
this option is useful for all non-grid snapping modes (when in editmode) so make available in those cases too.
2011-07-27 07:22:31 +00:00
Campbell Barton
48a64ffa70
more minor warning cleanups and improve error reporting if text fails to save.
2011-07-27 06:55:20 +00:00
Thomas Dinges
955ba3f7fb
* Fixed a typo in the code (uiLayoutItemSplt -> uiLayoutItemSplit)
2011-07-26 20:22:54 +00:00
Thomas Dinges
9a250bea61
Fix part of [ #28088 ] bad button spacing with layout engine for menu items.
...
* Fixed a cut off text.
* small cleanup
2011-07-26 20:05:17 +00:00
Campbell Barton
a460299b08
- bugfix for icon listview where the icons would only wrap once
...
- also quiet some clang warnings
2011-07-26 19:47:56 +00:00
Brecht Van Lommel
3e81de486a
RNA: function calls with optional parameters were not giving correct default
...
values for arrays.
2011-07-26 16:01:09 +00:00
Campbell Barton
ca293c835f
correct misc warnings
2011-07-26 13:33:04 +00:00
Campbell Barton
40353fe0d8
fix for NULL pointer crash with operator repeat, looks like error print got mixed up.
2011-07-26 13:05:22 +00:00
Campbell Barton
06ae122f60
include menu ID's in tooltips when python tips are enabled, there was no way to find the ID of a menu which become annoying if you wanted to reference it from a script.
2011-07-26 09:19:51 +00:00
Sergey Sharybin
7c9033d606
Fix #28087 : Opening files in the text editor ignores the last newline '\n'
...
It was tricky conversion of file buffer to text lines. Should work fine now.
2011-07-26 08:13:27 +00:00
Campbell Barton
9e1a553127
set the development cycle to 'beta'.
2011-07-26 07:41:14 +00:00
Campbell Barton
71692e802f
py api:
...
- added menu templates
- move template menu into the header of the text editor (so users will find more easily)
- updated mathutils examples, switching the order of multiplication.
2011-07-26 07:39:00 +00:00
Brecht Van Lommel
5b3906728f
Fix #28035 : point density texture doesn't bake.
2011-07-25 16:37:10 +00:00
Brecht Van Lommel
aec8d72ca7
Fix #28079 : UV propertional editing was incorrectly influenced by the
...
mesh X mirror option.
2011-07-25 16:16:32 +00:00
Brecht Van Lommel
62415cab05
Fix #28014 : joystick sensor not working. Broke this with an earlier commit
...
trying to fix blenderplayer startup warnings. It seems we do need to init
the SDL video subsystem even if we only want events, thanks Juha Maki-Kanto
for pointing this out.
2011-07-25 15:44:41 +00:00
Dalai Felinto
fee1594a65
BGE BugFix for: [ #23874 ] Custom projection matrix doesn't work in custom viewport
...
This was never highly tested, that's why I never committed (my patch for this was from September 2010).
But once again I got a report that this bug was a deal-break and the patch seems to work for this artist.
I believe it's working, but I will keep my eyes open for this.
2011-07-25 15:37:55 +00:00
Campbell Barton
e882925b49
more vector order switching.
2011-07-25 09:31:39 +00:00
Campbell Barton
799714fbc9
minor edits to animation playback operator
...
- remove own copyright from script
- print command before executing (helps troubleshooting)
2011-07-25 07:14:54 +00:00
Campbell Barton
4f4eeb826a
style changes for operator scripts & some pep8 edits.
2011-07-25 06:40:16 +00:00
Campbell Barton
6065390f4c
fix for DingTo's recent commit with the animation player, it ignored the case where the player is not an absolute path but found in the users $PATH (as is common on *nix systems).
...
now try and execute player, reporting the exception rather then checking the player file exists.
also made some pep8-80 style edits.
2011-07-25 06:38:21 +00:00
Campbell Barton
a07d7edb82
swap vertor multiplication order for add torus.
2011-07-25 06:09:39 +00:00
Campbell Barton
d4552034c6
edits to quick effects scripts
...
- use uv layer data api rather then operator.
- switch vector rotation order.
- made some style changes, use 80 width.
2011-07-25 05:54:32 +00:00
Campbell Barton
3e91de7ffd
External image operators.
...
- use bpy.data.is_saved (was using a workaround from when before this attribute was added)
- fixed a bug where editing relative paths could fail.
2011-07-25 05:10:44 +00:00
Campbell Barton
5132be21d1
fix [ #28075 ] After the correction of No.38528 is applied, the following phenomenon has been generated.
...
own fault in recent addition of bpy.path.basename() not supporting byte paths.
2011-07-25 04:00:11 +00:00
Campbell Barton
7f60ee6cb5
reverse vector multiplication order for some internal functions.
2011-07-25 03:59:01 +00:00
Campbell Barton
ced8f1dffc
deprecate multiplication orders:
...
vector * matrix
vector *= matrix
vector * quaternion
vector *= quaternion
Use the reverse order instead, enable WITH_ASSERT_ABORT in cmake to promote the warnings into errors.
2011-07-25 01:44:19 +00:00
Janne Karhu
a22de3f73c
Effector calculations are now thread safe.
...
* where_is_object_time was called for every effector evaluation only to determine the object velocity in some rare cases.
* Calculating the effector velocity is now done in the effector precalculation stage.
* Removing this makes the code thread safe and also should give some nice performance boosts when simulating a lot of points.
* Thanks to MiikaH for noticing this problem.
2011-07-24 17:44:22 +00:00