Nicholas Bishop
56342f222f
Code style cleanup in intern/dualcon.
2012-05-08 22:11:05 +00:00
Brecht Van Lommel
d9ce1cda94
Python/context: python could get invalid bpy.data in scene update handler after
...
undo.
The way this got updated from the context is a bit unreliable, and for handlers
the update couldn't happen because there is no context passed in. Now it's
updated from setup_app_data, which is where the change actually happens. I left
in the other updates to be sure but they should not be needed anymore.
2012-05-08 22:07:06 +00:00
Campbell Barton
f6abd6ee40
style cleanup: graph & armature
2012-05-08 20:18:33 +00:00
Brecht Van Lommel
d9a70ceeb1
Fix 31370: light falloff node linear output not working code.
...
Fix part of thread safety issue, there's still something else wrong.
2012-05-08 19:57:56 +00:00
Campbell Barton
81255ca8ce
style cleanup: gpencil & metaball
2012-05-08 18:29:02 +00:00
Campbell Barton
f605679515
style cleanup: nla
2012-05-08 18:05:57 +00:00
Campbell Barton
855c11ff8c
style cleanup: space action
2012-05-08 16:02:13 +00:00
Campbell Barton
80a766cbd0
style cleanup: view3d
2012-05-08 15:55:29 +00:00
Campbell Barton
facc976371
style cleanup: screen
2012-05-08 15:43:59 +00:00
Campbell Barton
f9d07ff3ee
style cleanup: animation + buttons
2012-05-08 15:30:00 +00:00
Lukas Toenne
817d308803
Fix #31350 , by Sergey Sharybin.
...
This happens because of how output node index is initializing in assign_index function: itterator goes to the beginning of the nodes list using node->prev and then reviews the whole node list to find first unused index. The problem is that node's initialization now is getting called before node was added to node tree, so all output nodes have got equal index.
2012-05-08 15:14:59 +00:00
Lukas Toenne
e20bff4b60
Fix #31363 . Group interface sockets don't have a parent node, so the API function has to check that before making the update call.
2012-05-08 14:58:59 +00:00
Campbell Barton
6f20ef6d87
optimize ngon angle calculation in solidify modifier (was doing prev/next vector subtract and normalize for every vertex). now store the previous normalized vector for re-use.
...
also add BKE_mesh_poly_calc_angles() which is mostly a reference for now.
2012-05-08 14:58:38 +00:00
Campbell Barton
d7bc2c7f06
style cleanup: misc editor changes.
2012-05-08 11:48:19 +00:00
Campbell Barton
17c48e711e
style cleanup: editcurve
2012-05-08 11:42:29 +00:00
Daniel Genrich
7a95d4333a
Fix reseting of particle lifetime and unborn feature when adding smoke - reported by blendernation
2012-05-08 11:39:32 +00:00
Sv. Lockal
ba7d24559d
fix for own mistake for ctrl+left/right movement and code cleanup for txt_jump_left/right
2012-05-08 11:18:20 +00:00
Campbell Barton
7a4ad3aaae
style cleanup: seqeffects
2012-05-08 09:31:25 +00:00
Sergey Sharybin
670916dbff
Fix #31332 : VSE drag and drop onto timeline buggy
2012-05-08 09:10:58 +00:00
Sergey Sharybin
673e26196f
Fix #31344 : MovieClip python custom properties are reset when reopen the file
2012-05-08 07:31:02 +00:00
Mike Erwin
243304a623
ndof: restored support for older serial port 3D mice on Linux (R45951 broke it, oops)
2012-05-08 05:04:29 +00:00
Dalai Felinto
5797edfcf2
adding kernel_projection.h in CMakelists
2012-05-07 20:37:48 +00:00
Brecht Van Lommel
e6a84eb1b5
Cycles: add light falloff node, with quadratic/linear/constant falloff and a
...
smoothing factor to reduce high values near the light.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Light_Falloff
Note that this was already possible to do manually with the Ray Length, but
this adds a convenient node for it. This commit also makes the mapping node
min/max option work, fixing #31348 .
2012-05-07 20:24:38 +00:00
Gaia Clary
f44e80e638
Collada: patch #31331 : added missing call to BKE_mesh_tessface_ensure() when 'apply Modifiers' was NOT selected
2012-05-07 19:08:01 +00:00
Campbell Barton
e5faeab5d6
style cleanup: avi
2012-05-07 18:30:04 +00:00
Campbell Barton
a314b70930
fix [ #31354 ] Segfault with "Extrude Individual Faces and Move"
2012-05-07 18:12:31 +00:00
Gaia Clary
98ba7dfecf
Collada: patch #31331 : Implementation of 'Apply Modifiers'
2012-05-07 18:09:59 +00:00
Campbell Barton
353ef9541a
fix [ #31347 ] solidify modifier > even thickness parameter weired
2012-05-07 18:07:34 +00:00
Campbell Barton
d5b53420f6
style cleanup: outliner
2012-05-07 17:56:30 +00:00
Dalai Felinto
e11b9df3f1
cycles-fisheye: fixed formula for dir to equisolid
...
second time I need a scond commit to get the equisolid formula right, shame on me ;)
the formula is:
r = 2 x focallength x sin (theta / 2)
2012-05-07 17:22:13 +00:00
Dalai Felinto
9a731205e9
direction to equisolid - final fix for [ #31307 ] Cycles panoramic fisheye lens and vector pass problem
2012-05-07 16:51:55 +00:00
Bastien Montagne
4bbcb7714e
Some misc fixes to UI messages...
2012-05-07 15:50:57 +00:00
Campbell Barton
6291b36d4c
fix for solidify modifier angle calculation (was incorrectly using normalized angle function)
2012-05-07 15:45:41 +00:00
Brecht Van Lommel
b613879f34
GHOST/Cocoa: revert tablet detection commit for continuous grab, apparently it is
...
already doing it and this change breaks something? Still it seems strange that it
is doing tablet stuff in this part of the code then.
2012-05-07 13:42:25 +00:00
Brecht Van Lommel
97df6dab2f
GHOST/Cocoa: detect tablet event to disable continuous grab. Don't have tablet
...
to test it though, can someone with Mac + tablet confirm if continuous grab
gets automatically disabled when using the tablet?
2012-05-07 10:53:12 +00:00
Brecht Van Lommel
022d12a721
Fix most of #31307 : cycles panorama camera not working correct with speed
...
vectors and window texture coordinates. Only for Fisheye Equisolid it's
still not working correct yet. Patch from Dalai with modifications.
2012-05-07 10:53:09 +00:00
Sergey Sharybin
69fc654f94
Style cleanup: change ffmpeg, avi and frame server api to rna-ish naming style
2012-05-07 09:30:15 +00:00
Sergey Sharybin
f618bada2b
Cleanup of intern/SConstript: CSG is not in source tree anymore, remove option to use it
2012-05-07 09:01:55 +00:00
Sergey Sharybin
2b53595ad6
Woops, some unwanted spaces remained in source files.
2012-05-07 08:55:29 +00:00
Sergey Sharybin
c79892c5cd
Style cleanup of own modules using style checker from Campbell.
2012-05-07 08:53:59 +00:00
Sergey Sharybin
3ef11693f5
Style cleanup: displist module
2012-05-07 06:58:03 +00:00
Sergey Sharybin
c7b20e79cd
Style cleanup: rename BKE_metaball* to BKE_mball -- mball is more commonly used term in Blender
2012-05-07 06:38:41 +00:00
Sergey Sharybin
d881f9225c
Style cleanup in readfile versioning files
2012-05-07 06:32:14 +00:00
Brecht Van Lommel
d7f214b581
Fix mac build error after ghost cocoa changes.
2012-05-06 22:36:51 +00:00
Nicholas Bishop
a8e8775cb8
Code cleanup: make changes suggested by check_style for sculpt-related files.
2012-05-06 22:12:26 +00:00
Brecht Van Lommel
2314b77eba
Fix float image loading crash in cycles after multithreading changes.
2012-05-06 22:06:14 +00:00
Campbell Barton
32ba51c4a1
fix for limited dissolve (after sine intended fixes - not cleaning up before vertex dissolve would skip dissolving some verts that should be dissolved).
...
now do this:
- edge dissolve
- cleanup (removing edges left over from dissolving faces)
cleanup removes verts and NULL vertex input array
- dissolve verts which haven't been removed.
2012-05-06 18:37:08 +00:00
Campbell Barton
3d9d26d6bf
fix [ #31197 ] Limited dissolve leaves faces/edges/verts behind
...
bad bug where vertices could be in a face more then once (which isn't allowed), now check for this when creating a face.
2012-05-06 18:04:37 +00:00
Campbell Barton
ffed654ff2
style cleanup: blenkernel
2012-05-06 17:22:54 +00:00
Bastien Montagne
1118b3fe3f
Mesh elements sorting refactor.
...
Now only one operator. Same options for vertices, edges and faces (so adds edges sorting, and some options to vertices sorting).
Face sorting should behave as previously. However, XSortVerts won’t pack anymore selected vertices at the begining of the vert array (as it used to), if you want such behavior you’ll have to first run SortElements with Selected action.
Also added bug ref I forgot in r46354 (armature.c).
2012-05-06 17:14:56 +00:00