Commit Graph

19357 Commits

Author SHA1 Message Date
Brecht Van Lommel
4be8384e27 Fix #20391: onlyshadow material doesn't render transparent shadows.
Fix #21033: AO + onlyshadow problem. Reverting to the old behavior which
I don't really understand, but at least it's compatible.
2010-02-13 13:17:15 +00:00
Ton Roosendaal
b673f7318c Added support for animated texture draw, GLSL textures.
Note, this is not like GE ffmpg, but Blender Image Texture
display for GLSL materials. Speed can be disappointing,
use smaller images for realtime edits.
2010-02-13 13:09:30 +00:00
Campbell Barton
e92b5292c8 print blend file loading, because...
- Often need to open a file that just crashed/hung in valgrind or gdb
- Sometimes need to commit a blend that was just opened and blender has no fast way to get the blend file in the clipboard.

since libraries also print in the console, dont see any problems with adding this.
2010-02-13 12:41:58 +00:00
Brecht Van Lommel
9250f15f74 Fix #20378: object modifier property drivers not updating. 2010-02-13 12:16:33 +00:00
Campbell Barton
6c9aa76d21 revert joes commit and apply change from Aligorith.
remove scripts dir only.
2010-02-13 10:55:04 +00:00
Jens Ole Wund
ac7f0ac606 fixing cuckoo bugs
- no i really don't like abusing group indexes (would like to have written indices .. but spell checker complains  SIGH )
anyhow 
lattices and curves do not care for ambiguous vertex group index any more
just take weights as they are set
2010-02-13 00:52:01 +00:00
Martin Poirier
33b1cbf06d Smart Extrude (hotkeys are tentative)
Ekey: Extrude Region
	Based on selection totals:
		Extrude region along normal if at least one face selected
		Extrude vertex along normal if only one vertex selected (experimental)
		Extrude edge on its plane if only one edge selected (experimental)
		Extrude with no constraint axis otherwise

Shift-Ekey: Extrude Individual
	Based on selection modes and selection totals
		Individual Faces if face select and some faces are selected
		Individual Edges if edge select and some edges are selected
		Individual Vertice otherwise
		
Alt-Ekey: Extrude Menu (only shows valid options for selection mode and selection totals)
2010-02-12 22:13:47 +00:00
Martin Poirier
e77cf5e92e Mesh selection totals in RNA (patch by Campbell) 2010-02-12 22:03:23 +00:00
Campbell Barton
e205acdbaa strip quotes from Buildinfo for bpy.app.build_* 2010-02-12 21:45:47 +00:00
Martin Poirier
c7662c1cf7 Calling operators from Python with non-default context was broken (need to assign to the right variable). 2010-02-12 21:40:46 +00:00
Campbell Barton
533ed7cdaa Python deprcated PyCObject, use PyCapsule instead. 2010-02-12 21:14:01 +00:00
Arystanbek Dyussenov
b43f107195 Merge -c 26848 from COLLADA branch into trunk. 2010-02-12 20:32:36 +00:00
Campbell Barton
3188089dc1 [#21121] Limit to visible don't works well in Face mode
dont draw face dots when drawing backbuffer
2010-02-12 16:48:04 +00:00
Campbell Barton
4b4cb7f9c1 bugfix [#21090] Crash because of slow USB drive
missing NULL check
2010-02-12 16:26:35 +00:00
Campbell Barton
0e40d71fb0 [#21123] Refresh screen after applying click in WM_gesture_circle_modal()
patch from Sergey Sharybin (nazgul)
2010-02-12 15:33:32 +00:00
Campbell Barton
8497b2f851 typo in zeroing a vector 2010-02-12 14:46:04 +00:00
Campbell Barton
6ff1883094 fix use of uninitialized vars with the color wheel. 2010-02-12 14:34:08 +00:00
Campbell Barton
081c1205a3 correct fsf address 2010-02-12 13:34:04 +00:00
Joshua Leung
bd88fb372f Bugfixes:
1) Summary channel in DopeSheet was using uninitialised color for backdrop, resulting in weird/wrong colours
2) Commented out the view2d hotkeys added earlier, since they currently cause some conflicts for animation editor hotkeys (namely NLA)
2010-02-12 11:48:55 +00:00
Campbell Barton
9e652ce6bb fix for depth drawing + clipping 2010-02-12 11:03:41 +00:00
Joshua Leung
f97db86139 Quicky View2D commit:
Page Up/Down hotkeys for working with scrolling View2D views
2010-02-12 10:20:11 +00:00
Joshua Leung
d26e71c2f0 FModifier drawing typo:
All F-Modifiers were had their RNA pointers initialised as "Function Generator" modifiers when drawing.
2010-02-12 09:42:34 +00:00
Dalai Felinto
2541429ded BGE: linear velocity and angular velocity are attributes now
... what lead me to wonder if we should remove obj.setAngularVelocity, obj.setLinearVelocity, obj.getLinearVelocity and obj.getAngularVelocity.

* this was so Copy and Paste ... anyways tests are welcome (I never used those methods in python myself).
2010-02-12 03:40:28 +00:00
Joshua Leung
61d7e4a51e Bugfix #21094:
Inserting keyframes for properties that don't already have F-Curves shouldn't occur if auto keyframing is set to 'replace' only (i.e. see timeline -> frame -> autokey mode menu for details).
2010-02-12 01:06:18 +00:00
Joshua Leung
b482b8543e Bugfix #21051: Restored 'Playback FPS'
This commit restores the 'Playback FPS' option which showed an indicator of the frame rate of animation playback in the 3D-View.

The info for this is now stored in a temp struct in scene data, with the status info being updated by the "animation step" operator instead of relying on globals as the old code did. This seems a lot more stable than in 2.49, but the accuracy is still questionable.
2010-02-12 00:44:26 +00:00
Campbell Barton
6c775defd4 Clear scons installation directory when WITHOUT_BF_INSTALL is disabled.
After discussion with Brecht and Martin we agree this is best long term.

Also fixed "scons blenderlite" for python and fluid.
2010-02-11 22:02:27 +00:00
Lukas Steiblys
778cac6c54 2010-02-11 21:55:07 +00:00
Campbell Barton
157a694607 - select active camera operator
- calling menu use exec rather then invoke
2010-02-11 21:17:05 +00:00
Campbell Barton
611a5595f9 fix for flag being used in the wrong place with recent ApproxAO option. 2010-02-11 18:36:47 +00:00
Daniel Salazar
39cccd2a90 Line up RNA property with the rest of space 2010-02-11 17:41:17 +00:00
Daniel Salazar
9f3563fa94 Compile fix 2010-02-11 17:27:43 +00:00
Campbell Barton
08d3741980 fix for crash when running in background mode and adjusting materials 2010-02-11 16:54:25 +00:00
Daniel Salazar
6286e41514 Theme support for console background. Thx cam for help! 2010-02-11 16:28:31 +00:00
Brecht Van Lommel
9ee81473f8 Fix #20139: toggling mipmaps in user preferences did not refresh textures. 2010-02-11 15:45:19 +00:00
Brecht Van Lommel
d98603129c Added an option "Cast Approximate" to control if a material should cast
shadow when using approximate AO, separate from "Traceable".
2010-02-11 15:43:31 +00:00
Arystanbek Dyussenov
4746fbd8ce COLLADA exporter (in trunk): write 1 normal per flat face instead of 3 or 4. 2010-02-11 14:53:29 +00:00
Campbell Barton
3c5b476d1f fix for own mistake [#21088] comb mode broken? 2010-02-11 14:24:45 +00:00
Campbell Barton
8f4c340915 bpy.utils.home_paths, use this to get script paths for the user/local/system blender paths. 2010-02-11 14:08:22 +00:00
Campbell Barton
a2b94de539 [#21095] r26789 'copy vertex group to selected' crash blender 2010-02-11 10:41:11 +00:00
Campbell Barton
0932402244 panorama UV projection, only when projected from a camera with panorama enabled, ortho and perspective supported, camera aspect ignored at the moment.
also fixed bugs ortho camera projection which wasnt ever used and had the ortho camera size inverted.
2010-02-11 10:25:24 +00:00
Campbell Barton
e2ba857b0f console needs a background color, can use instead of padding. 2010-02-11 09:03:43 +00:00
Joerg Mueller
d3ce198cd5 Padding fix by phonybone. 2010-02-11 08:52:22 +00:00
Dalai Felinto
3189732ab6 BGE: rna update for Logic Bricks
New Actuators done:
* EDIT_OBJECT
* SHAPE_ACTION

Actuators to be done:
* CONSTRAINT

Actuators done already:
* ALL THE OTHERS 16

+ some DNA padding

There is one Actuator left. This one is tricky because (as many others) the tooltip changes according to the actuator type value. Not sure how to solve this yet. I'll probably have to make different rna properties for the same values (it includes some enums this time). Not so animated to finish this one :/
2010-02-11 06:00:16 +00:00
Dalai Felinto
0119072fc3 BGE API DOC update - scene add/restart/end. patch by Gomer 2010-02-11 04:24:58 +00:00
Daniel Salazar
d65101629d Added theme support for vertex normals display alongside face normals.
This makes having both enabled at the same time actually useful!

http://www.pasteall.org/pic/show.php?id=1265
2010-02-11 03:37:51 +00:00
Daniel Salazar
15ef07d684 More tooltip editing 2010-02-11 02:03:18 +00:00
Daniel Salazar
78faeb73b8 Operation Dot-Kill finished 2010-02-11 01:11:52 +00:00
Daniel Salazar
367037b445 Removing more dots 2010-02-11 00:33:01 +00:00
Joerg Mueller
f2f4981726 Bugfix for [#21086] Audio continues to play unsynced. 2010-02-10 23:15:12 +00:00
Daniel Salazar
526da4f686 Killing more dots! 2010-02-10 22:18:00 +00:00