Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
a3d822f857 Rendering from the sequencer in background mode was printing frame 0 for every frame 2010-07-17 17:36:53 +00:00
Brecht Van Lommel
21cb1f82db Revert part of commit 29079, cleanup of particle path drawing logic
This commit and other commits attempting to fix it broke various things. The
main thing that changed was that instead of computing children/paths in
advance as part of particle_system_update, this was moved to do it just before
drawing or rendering. I've changed back that behavior and tried to keep the
other fixes in the commit.

When the new particle system was just committed, it also worked this way but
gave various problems, and I had to remove that behavior to get things working
stable. Basically it meant that you could get have a path cache that was
outdated in various situations, and it doesn't fit well with dependency graph
evaluation order.

This fixes:
#22823: Children Particle Rendering is broken
#22733: Particle objects not displayed
#22888: SigSegV when rending hair particles
#22820: Another SigSegV when undo adding hairs in particel edit mode
Some particle setups in dupligroups.

The three bugs that the original commit fixed are now also still working in
my tests:
#21316: Hair weight drawing is wrong
#21923: Consistent Crash When Rendering Particle Scene.
#21950: Path rendering option for particles causes crash
2010-07-17 17:07:50 +00:00
Campbell Barton
02ef91a619 [#22876] Add new scene, stacker ".00" bug
finding duplicates is a bit faster now too since it doesnt split the name and number before comparing ID's prefix.
2010-07-17 16:17:30 +00:00
Brecht Van Lommel
e4756f4c33 2.5: installation paths, local directories (in the same folder as executable)
are now considered system rather than user directories, as you would expect
these to override any system directory for local installations.
2010-07-17 15:42:01 +00:00
Joerg Mueller
98b6efa35e Autoplay: Fullscreen now really works. 2010-07-17 14:23:21 +00:00
Joerg Mueller
fd982af447 Merging revision 30434 from my GSoC branch, log: Fixed sound wave display bug for sounds that are not full length. 2010-07-17 13:41:22 +00:00
Joerg Mueller
abeecf4d72 Fixed sound wave display bug for sounds that are not full length. 2010-07-17 13:37:28 +00:00
Jason Wilkins
06193537ed * Applied patch from nicholasbishop that refactors calculation of the grab delta into a function with less duplication 2010-07-17 13:31:33 +00:00
Campbell Barton
22c6b7d174 PNG Compression can now be set, writing uncompressed PNG's is significantly faster for high resolution images - 2k. 2010-07-17 13:29:55 +00:00
Joshua Leung
30b712ed68 48Hr Bugfix: Paste pose not correctly updating
Removed some antiquated cruft that used to work around the old anim-system.
2010-07-17 13:18:11 +00:00
Dalai Felinto
cc11047fad Logic Editor: fix for float values steps and precision (reported by Mal Duffin (malCanDo) over email)
The UI wasn't working.
+ renaming motion blur rna to motion_blur_factor
+ fixing "using wrong dna" for min_y constraint actuator RNA
2010-07-17 02:29:29 +00:00
Campbell Barton
4cc05dfc1b simplify thumbnail reading and remove some warnings 2010-07-17 00:38:34 +00:00
Campbell Barton
71c22fefea sequencer outline, credits on a black background wasnt easy to see. 2010-07-16 23:17:13 +00:00
Campbell Barton
addb2bbff2 fix for assigning any ID in rna, it would not run id_lib_extern() which means the library reference would be lost on reload. 2010-07-16 22:21:37 +00:00
Joerg Mueller
8ecf072f9a BGE Py API:
* Sphinx autorun file.
* bge modules are now autogenerated
* added aud module
2010-07-16 21:42:20 +00:00
Tamito Kajiyama
6d35f6110a Merged changes in the trunk up to revision 30416. 2010-07-16 21:35:48 +00:00
Joerg Mueller
2ffe3e46c5 svn merge -r 30323:30417 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2010-07-16 17:43:08 +00:00
Joerg Mueller
8b8b4f3324 Enabling game engine autoplay again based on a patch by Dalai:
* The biggest 3D view in the open scene is used, if there is none, blender opens the file normally and raises an error.
* The 3D view are is made fullscreen.
* Quad view, header, properties and toolbox panel are all hidden to get the maximum view.
* If the game engine full screen setting is set, the game starts in fullscreen.

With this abilities we maybe don't need the game player anymore?!
2010-07-16 17:25:23 +00:00
Campbell Barton
6a880daa92 homekey in sequencer viewer wasnt quite setting 1:1 2010-07-16 16:54:39 +00:00
Andrea Weikert
ca3f3317b2 == installation paths ==
* rename BLI_gethome to BLI_getDefaultDocumentFolder to better reflect how this function is used
* replaced BLI_gethome with getenv("HOME") on Linux and Mac where it retrieves location of bookmarks that are inserted as system bookmarks. BLI_gethome was a thin wrapper around these and in this case the user's home directory is what is actually wanted.
2010-07-16 16:02:07 +00:00
Campbell Barton
3ef41270f9 [#22880] SEQUENCER: Flip Y broken in recent builds (Windows & Linux)
own fault when adding saturation.
2010-07-16 15:45:35 +00:00
Konrad Kleine
ddfdf8e1b2 Fix for [#22668] Adding sequencer color strip fails when sound strip selected.
Hi,

I've written a patch to fix this issue. Since the Effect Strip
"Color" doesn't need any input sequences, there is
no need to output a warning when adding this effect while other
sequences are selected. My fix let's all Effect Strips that don't
need input sequences pass the warning "Can't apply effects
to audio sequence strips". I think this is fair.

-Konrad
2010-07-16 14:00:57 +00:00
Campbell Barton
dd705a25ce fix for freeze while resizing sequencer view vertically 2010-07-16 13:55:22 +00:00
Brecht Van Lommel
f6ae7af243 2.5: automatic draw method now uses overlap for Intel on all platforms. 2010-07-16 10:13:04 +00:00
Sergey Sharybin
d94868f821 Incorrect flags were checing for cyclic in order clamping functions 2010-07-16 09:45:09 +00:00
Mitchell Stokes
952821dfd4 BGE doc updates:
Fixed some typos and added docs for the following functions:

startGame()
endGame()
restartGame()
LibLoad()
LibNew()
LibFree()
2010-07-16 09:10:46 +00:00
Nathan Letwory
7ba821cab3 Add comment about case where autosave can fail on Windows. 2010-07-16 06:49:31 +00:00
Andrea Weikert
615db01b01 == installation paths ==
* fix for autosave location -> shouldn't use BLI_gethome anymore
* this frees BLI_gethome of having to emulate the local->user->system search path and can now be truly considered as 'home/default location for .blend files'
* removed setting the default G.sce from read_history, was out of context there.
* fix for creating user dir, leftover from previous commit.

jesterKing, please review -> if there are any issues I will fix or revert.
2010-07-15 21:39:47 +00:00
Tamito Kajiyama
2df7f76e78 Merged changes in the trunk up to revision 30397. 2010-07-15 21:05:11 +00:00
Andrea Weikert
05fb497f75 == installation paths ==
remove deprecated python BLI_gethome_folder calls

Patch by Brecht, thanks a lot
2010-07-15 20:02:53 +00:00
Campbell Barton
7fc9eee08a - updated man page from --help output.
- cmake now installs the man page.
- added cmake_linux_install.sh, shell script which downloads and builds blender.
2010-07-15 19:58:23 +00:00
Andrea Weikert
7a3ff66575 == installation paths ==
* fix case where environment variable was used without subfolder
* some small cleanup
2010-07-15 19:42:36 +00:00
Nick Samarin
0fbca1dc19 - added options to enable visualization for obstacle simulation and steering actuator
- added python attributes for parameters of steering actuator
2010-07-15 18:41:29 +00:00
Luca Bonavita
7df9df1373 == rna cleanup ==
- after talking with brecht, changes keys prefixes with "is_pressed_alt" and so on if readonly and "pressed_alt" if not readonly
- updated the rna_cleaner.py with real prefixes and keywords so it's clear what it is being used

    kw_prefixes = [ 'active','apply','bl','exclude','has','invert','is','lock', \
                    'pressed','show','show_only','use','use_only','layers','states']
    kw = ['active','hide','invert','select','layers','mute','states','use','lock']
2010-07-15 18:34:25 +00:00
Brecht Van Lommel
68c59beefd RNA cleanup: some more boolean changes based on discussion with Luca. 2010-07-15 17:54:53 +00:00
Campbell Barton
5ae1687bd7 fix for one of the problems with [#22846] GCC 4.4.1 support in Windows 2010-07-15 17:36:00 +00:00
Campbell Barton
02da5ecfed Apply first pass of edits to rna values from rna_booleans.txt.
These are not animated and are best not change names like this too late in the release.

ActionGroup.selected -> select:    boolean    Action Group is selected
BezierSplinePoint.hidden -> hide:    boolean    Visibility status
BezierSplinePoint.selected_control_point -> select_control_point:    boolean    Control point selection status
BezierSplinePoint.selected_handle1 -> select_left_handle:    boolean    Handle 1 selection status
BezierSplinePoint.selected_handle2 -> select_right_handle:    boolean    Handle 2 selection status
Bone.restrict_select -> hide_select:    boolean    Bone is able to be selected
Bone.selected -> select:    boolean
CurveMapPoint.selected -> select:    boolean    Selection state of the curve point
EditBone.restrict_select -> hide_select:    boolean    Bone is able to be selected
EditBone.selected -> select:    boolean
EditBone.selected_head -> select_head:    boolean
EditBone.selected_tail -> select_tail:    boolean
EditBone.locked -> lock:    boolean    Bone is not able to be transformed when in Edit Mode
EditBone.hidden -> hide:    boolean    Bone is not visible when in Edit Mode
NEGATE * FCurve.disabled -> enabled:    boolean    F-Curve could not be evaluated in past, so should be skipped when evaluating
FCurve.locked -> lock:    boolean    F-Curve's settings cannot be edited
FCurve.muted -> mute:    boolean    F-Curve is not evaluated
FCurve.selected -> select:    boolean    F-Curve is selected for editing
NEGATE * FCurve.visible -> hide:    boolean    F-Curve and its keyframes are shown in the Graph Editor graphs
FCurveSample.selected -> select:    boolean    Selection status
GPencilFrame.selected -> select:    boolean    Frame is selected for editing in the DopeSheet
GPencilLayer.locked -> lock:    boolean    Protect layer from further editing and/or frame changes
GPencilLayer.selected -> select:    boolean    Layer is selected for editing in the DopeSheet
Keyframe.selected -> select:    boolean    Control point selection status
Keyframe.selected_handle1 -> select_left_handle:    boolean    Handle 1 selection status
Keyframe.selected_handle2 -> select_right_handle:    boolean    Handle 2 selection status
MeshEdge.selected -> select:    boolean
MeshEdge.hidden -> hide:    boolean
MeshFace.hidden -> hide:    boolean
MeshFace.selected -> select:    boolean
MeshVertex.hidden -> hide:    boolean
MeshVertex.selected -> select:    boolean
MotionPathVert.selected -> select:    boolean    Path point is selected for editing
NlaStrip.selected -> select:    boolean    NLA Strip is selected
NlaTrack.locked -> lock:    boolean    NLA Track is locked
NlaTrack.muted -> mute:    boolean    NLA Track is not evaluated
NlaTrack.selected -> select:    boolean    NLA Track is selected
Object.restrict_render -> hide_render:    boolean    Restrict renderability
Object.restrict_select -> hide_select:    boolean    Restrict selection in the viewport
Object.restrict_view -> hide:    boolean    Restrict visibility in the viewport
Object.selected -> select:    boolean    Object selection state
ObjectBase.selected -> select:    boolean    Object base selection state
PoseBone.selected -> select:    boolean
Sequence.right_handle_selected -> select_right_handle:    boolean
Sequence.selected -> select:    boolean
SplinePoint.selected -> select_control_point:    boolean    Selection status
TimelineMarker.selected -> select:    boolean    Marker selection state
Sequence.left_handle_selected -> select_left_handle:    boolean
ActionGroup.locked -> lock:    boolean    Action Group is locked
Bone.hidden -> hide:    boolean    Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes)
SplinePoint.hidden -> hide:    boolean    Visibility status
FModifier.muted -> mute:    boolean    F-Curve Modifier will not be evaluated

 note: rebaned uv_select to select_uv
2010-07-15 16:56:04 +00:00
Campbell Barton
220fd2e80a rna name edits as discussed with brecht. restrict -> hide. 2010-07-15 15:37:57 +00:00
Brecht Van Lommel
7fb16fb5ec Update --help message for new path environment variables. 2010-07-15 15:20:53 +00:00
Brecht Van Lommel
cfa5580843 Fix for use of path environment variables, was not appending subfolder. 2010-07-15 15:03:42 +00:00
Brecht Van Lommel
df3da6ec49 Fix #22851: missing undo push for color picker, these only work if
there is a button label or tooltip.
2010-07-15 13:34:14 +00:00
Campbell Barton
f5957e6237 own recent commit which added support for writing srgb float buffers broke writing char buffers as half EXR's. 2010-07-15 13:32:20 +00:00
Campbell Barton
5daf9354d2 change some references to .B.blend, .Blog to new names 2010-07-15 11:51:43 +00:00
Brecht Van Lommel
dcc1e6019d Fix: rename to .blend1 as last before writing, after creating blend thumbnail. 2010-07-15 10:51:05 +00:00
Jason Wilkins
a5aa3ff795 * smooth wasn't working with strengths below .5 2010-07-15 05:53:11 +00:00
Matt Ebb
82b55d9391 Disabled mode-switching keys during 3D View orbit/zoom etc. in default key map.
Still possible to re-enable via editing the modal keymap, but was getting a bit 
annoying in its current state. Can probably be implemented a bit better in the 
future with timers etc, but no time at the moment.
2010-07-15 03:49:32 +00:00
Joseph Eagar
f54aa78110 forgot these 2010-07-15 01:43:09 +00:00
Joseph Eagar
5d1c1c6421 [note: do not test quite yet]
Phase 1 of restructuring done.  There are now two
distinct subclass systems within the bmesh API;
one is compile-time, and forms the backend of what will
eventually be a "lite" bmesh API for modifiers (the
ones that use bmesh are simply too slow right now). 
The other is dynamic, and will be used to implement
multires reprojection.

The idea was to solve as many serious problems with
memory, speed, etc, at once as possible and set up others 
to be solved more easily later.

I've also added holes into the data structure, but not
the api; I don't plan to finish implementing that until
after bmesh gets into trunk.  I simply wanted to lessen
how much code I'll have to rewrite, since I was doing a
fairly major restructuring anyway.

In addition, I've added iteration support to mempool, to
avoid having to store linked list pointers (though this
has caveats).

Next step: merge in trunk changes. . .oh, what fun :P
2010-07-15 00:55:31 +00:00
Nathan Letwory
4242baa704 Logic UI: Changing Controllers names to follow Sensors and actuators (back to have only the first latter capitalized) + change the controller state only when in expanded mode (show the number otherwise).
Cosmetic commit, no structural/big code changes (patch by dfelinto).
2010-07-14 23:51:21 +00:00
Nathan Letwory
0980f2555f * Use same BLI_exist() on all platforms.
* remove extra sys/types.h include.
2010-07-14 23:39:23 +00:00