blender.git
11 years agoFix blenderplayer linking issues when building with CMake on unix systems
Damien Plisson [Sat, 8 May 2010 05:56:34 +0000 (05:56 +0000)]
Fix blenderplayer linking issues when building with CMake on unix systems

11 years agoAllow clicking in the empty area of a scrollbar (in the 'groove' outside the scroller...
Matt Ebb [Sat, 8 May 2010 04:32:48 +0000 (04:32 +0000)]
Allow clicking in the empty area of a scrollbar (in the 'groove' outside the scroller itself)
to page up/page down.

11 years agoadjusment to constraint actuator layout (forgot to expose normal and before)
Dalai Felinto [Fri, 7 May 2010 23:56:26 +0000 (23:56 +0000)]
adjusment to constraint actuator layout (forgot to expose normal and before)

11 years agobugfix [#22276] filemanager autocompleate based on current path
Campbell Barton [Fri, 7 May 2010 23:34:03 +0000 (23:34 +0000)]
bugfix [#22276] filemanager autocompleate based on current path
also added autocomp to filename in fileselector

11 years agoSVN maintenance.
Guillermo S. Romero [Fri, 7 May 2010 22:04:48 +0000 (22:04 +0000)]
SVN maintenance.

11 years agoCMake + MSVC building fix (PTHREADS_INC needed in imbuf)
Dalai Felinto [Fri, 7 May 2010 21:35:10 +0000 (21:35 +0000)]
CMake + MSVC building fix (PTHREADS_INC needed in imbuf)
again, I know that the header shouldnt' be included there. But since it's still there at least let's make it build.

11 years agoLogic UI - fixing missing rna default values
Dalai Felinto [Fri, 7 May 2010 18:53:28 +0000 (18:53 +0000)]
Logic UI - fixing missing rna default values
there are some cases (i.e. Constraint Actuator) where the same DNA property is being used by different RNAs with different ranges.
It's easy to change (reset the values to their default in the set func of the constrant type rna).
Not sure it's necessary though.

11 years agoshouldnt have committed this, was local hack to workaround float buffer bug.
Campbell Barton [Fri, 7 May 2010 15:52:16 +0000 (15:52 +0000)]
shouldnt have committed this, was local hack to workaround float buffer bug.

11 years agofix for segfault when reading bad multilayer EXR's
Campbell Barton [Fri, 7 May 2010 15:49:21 +0000 (15:49 +0000)]
fix for segfault when reading bad multilayer EXR's

11 years agoMerge image related changes from the render branch. This includes the image
Brecht Van Lommel [Fri, 7 May 2010 15:18:04 +0000 (15:18 +0000)]
Merge image related changes from the render branch. This includes the image
tile cache code in imbuf, but it is not hooked up to the render engine.

Imbuf module: some small refactoring and removing a lot of unused or old code
(about 6.5k lines).

* Added a ImFileType struct with callbacks to make adding an file format type,
  or making changes to the API easier.
* Move imbuf init/exit code into IMB_init()/IMB_exit() functions.
* Increased mipmap levels from 10 to 20, you run into this limit already with
  a 2k image.
* Removed hamx, amiga, anim5 format support.
* Removed colormap saving, only simple colormap code now for reading tga.
* Removed gen_dynlibtiff.py, editing this is almost as much work as just
  editing the code directly.
* Functions removed that were only used for sequencer plugin API:
  IMB_anim_nextpic, IMB_clever_double, IMB_antialias, IMB_gamwarp,
  IMB_scalefieldImBuf, IMB_scalefastfieldImBuf, IMB_onethird, IMB_halflace,
  IMB_dit0, IMB_dit2, IMB_cspace
* Write metadata info into OpenEXR images. Can be viewed with the command
  line utility 'exrheader'

For the image tile cache code, see this page:
http://wiki.blender.org/index.php/Dev:2.5/Source/Imaging/ImageTileCache

11 years agoMinor formatting tweaks (killing some "caterpillar if's"... yuck those things are...
Joshua Leung [Fri, 7 May 2010 10:59:48 +0000 (10:59 +0000)]
Minor formatting tweaks (killing some "caterpillar if's"... yuck those things are nasty to edit/extend)

11 years agoMultires: fix for "failed to read" error message with external displacements.
Brecht Van Lommel [Fri, 7 May 2010 09:48:40 +0000 (09:48 +0000)]
Multires: fix for "failed to read" error message with external displacements.

11 years agoExr reading error print has a bit more detail now, to debug problems.
Brecht Van Lommel [Fri, 7 May 2010 09:46:54 +0000 (09:46 +0000)]
Exr reading error print has a bit more detail now, to debug problems.

11 years agosaving multires data didnt get the new filename when the external struct was alredy...
Campbell Barton [Fri, 7 May 2010 09:41:26 +0000 (09:41 +0000)]
saving multires data didnt get the new filename when the external struct was alredy allocated (making save external fail)

11 years agoRestrict keyboard sensor stored events to only what's appropriate per property
Matt Ebb [Fri, 7 May 2010 08:10:20 +0000 (08:10 +0000)]
Restrict keyboard sensor stored events to only what's appropriate per property
(normal key, modifier key, etc)

11 years agotoo many args, build error
Campbell Barton [Fri, 7 May 2010 07:57:15 +0000 (07:57 +0000)]
too many args, build error

11 years agoghash alloc string from render branch
Campbell Barton [Fri, 7 May 2010 07:54:25 +0000 (07:54 +0000)]
ghash alloc string from render branch
 svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28571:28573
 svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28575:28576

11 years agoLogic UI: All Sensors, Controllers and Actuators are ported now... (let's the tests...
Dalai Felinto [Fri, 7 May 2010 07:31:39 +0000 (07:31 +0000)]
Logic UI: All Sensors, Controllers and Actuators are ported now... (let's the tests begin)

* get/set funcs
* unifying rna_props for Constraint Actuator
* Collision sensor
* Ray sensor
* State Actuator

* We need icons! at least one for Sensor, one for Controller and one for Actuator

* Layout artists:
Keyboard sensor really need some help :)
The other as well. I mainly copied the layout from 2.49 with some adjustments here and there.

* some get/set functions in rna_actuator.c are exactly the same (e.g. rna_ConstraintActuator_range_get, rna_ConstraintActuator_spring_get) and other could be easily distributed. maybe something for later.

11 years agoFix [#22271] N panel Lock icons not changing when pressed
Matt Ebb [Fri, 7 May 2010 04:52:10 +0000 (04:52 +0000)]
Fix [#22271] N panel Lock icons not changing when pressed

11 years agoWarning cleanup
Matt Ebb [Fri, 7 May 2010 03:44:34 +0000 (03:44 +0000)]
Warning cleanup

While I was looking in outliner.c, made some changes to let extra passes display
there such as environment (commented out before due to a previous limitation).

Also changed outliner object visbility/selectability/renderability toggles to use
RNA buttons so you can insert keyframes with RMB menu etc.

11 years agoLogic UI: small fixes: order of sensor type enum + state actuator showing used states now
Dalai Felinto [Fri, 7 May 2010 02:37:05 +0000 (02:37 +0000)]
Logic UI: small fixes: order of sensor type enum + state actuator showing used states now

11 years agoAdded dynamic enum itemf for add sensor/actuator operators
Matt Ebb [Fri, 7 May 2010 02:01:50 +0000 (02:01 +0000)]
Added dynamic enum itemf for add sensor/actuator operators

11 years agoLogic UI: State Actuator done :) all actuators are there now. [and stubs update]
Dalai Felinto [Fri, 7 May 2010 01:30:12 +0000 (01:30 +0000)]
Logic UI: State Actuator done :) all actuators are there now. [and stubs update]
(it's a small commit, but couldn't help not doing it ;)

11 years agoAdd the option to show also the UVs of other selected objects in image
Toni Alatalo [Thu, 6 May 2010 23:47:25 +0000 (23:47 +0000)]
Add the option to show also the UVs of other selected objects in image
space / uv edit. The code was already there, and the option as a rna
bool, but no ui to set it. Matt figured that the View menu in image
space next to other uv stuff, which only shows when UVs are edited, is
the right place.

Works so that when entering editmode for an object to edit UVs, when
have also other objects selected and this option on, also the UVs of
those other objects are shown in the image view.

Liquidape asked this on IRC, and we thought the feat doesn't exist, so I
looked out of curiosity in the code as was thinking it would be easy to
add. Was surprised to find it there already :)

First time that did anything with 2.5, was sure fun enough to search
thru the code to figure out how things work. Adding this ui thing proved
to be exactly as trivial and nice as it should, and the things under the
hood seemed nice, yay!

11 years agobugfix for own error [#22269] object vector operations (position) not working properl...
Campbell Barton [Thu, 6 May 2010 22:07:03 +0000 (22:07 +0000)]
bugfix for own error [#22269] object vector operations (position) not working properly after rev. 28471
 double checked other get_index callbacks for the same error.

11 years agofix for duplicating cloth which could crash on freeing
Campbell Barton [Thu, 6 May 2010 21:31:16 +0000 (21:31 +0000)]
fix for duplicating cloth which could crash on freeing
- effector list wasnt NULL'd on copying a particle system
- copying an object would initialize the cloth modifier, then copy it, witout freeing its effector weights created in cloth_init().

11 years agokeyframe transform, both through dopesheet/action editor and graph editor, works...
Joseph Eagar [Thu, 6 May 2010 19:54:43 +0000 (19:54 +0000)]
keyframe transform, both through dopesheet/action editor and graph editor, works a bit better with handles.  handles now follow keyframes properly in frame snap mode, in situations where they would move (but the keyframe would not) in undesirable ways before.  also hopefully fixed vector scope crash in image editor.  and disabled snapping to seconds (ever); this can be a seperate option, silently switching to second snapping in frame snapping mode is absolutely evil.  also, the action editor draws in hundredth of seconds, not seconds, so it didn't even work.  Aligorith: I hope this code is ok, if not feel free to rewrite it.

11 years agoLogic UI: constraint actuator+rna 100% (finally !!!) + other fixes/improvements:
Dalai Felinto [Thu, 6 May 2010 19:12:08 +0000 (19:12 +0000)]
Logic UI: constraint actuator+rna 100% (finally !!!) + other fixes/improvements:

- s/c/a type enum update function replaced by set function
- rna_Sensor_type_itemf and rna_Actuators_type_itemf implemented (but not working ... it was working yesterday before I updated the set func, so need further investigation). Matt, if you have any clue on that ...

Roadmap:

i) I definitively gotta unify the maxloc, minloc rna properties.
the way it's right now (based on 2.49 makes the layout code really clunky
ii) - actuator missing - State Actuator (I'll probably need help on that).
iii) - sensor missing - collision and ray (they are partly implemented, but the enums are a mess there).
iv) - get/set funcs missing (not many) and default values (not many)
v) - have more lookup functions for properties and material (I'll definitively need help on that).

Eventually will fix (iii, iv and v) changing bge and dna code and doing a subversion/do_version.

11 years agodont write blender recent file list or save quit.blend when running in background...
Campbell Barton [Thu, 6 May 2010 18:25:56 +0000 (18:25 +0000)]
dont write blender recent file list or save quit.blend when running in background mode.

11 years agoown restrict-render commit broke hide unselected.
Campbell Barton [Thu, 6 May 2010 18:11:01 +0000 (18:11 +0000)]
own restrict-render commit broke hide unselected.

11 years agoMake drop images work from external desktop into Blender image window.
William Reynish [Thu, 6 May 2010 17:45:02 +0000 (17:45 +0000)]
Make drop images work from external desktop into Blender image window.
Still has work todo, like detecting filetype on drop event itself. Ton will continue...

11 years agooption to use the linked path or the local path for pointcache.
Campbell Barton [Thu, 6 May 2010 17:12:44 +0000 (17:12 +0000)]
option to use the linked path or the local path for pointcache.
needed for sintels hair to be baked locally.

11 years agomake save as copy default for renders, so artists saving with F3 dont end up with...
Campbell Barton [Thu, 6 May 2010 16:37:39 +0000 (16:37 +0000)]
make save as copy default for renders, so artists saving with F3 dont end up with many image datablocks pointing to their Desktops

11 years agoPart 1 of making external drop events work. Have to move work to another system,
Ton Roosendaal [Thu, 6 May 2010 16:06:57 +0000 (16:06 +0000)]
Part 1 of making external drop events work. Have to move work to another system,
that's why this first step. :)

11 years agomore checks to last commit
Campbell Barton [Thu, 6 May 2010 14:53:27 +0000 (14:53 +0000)]
more checks to last commit
- dont allow new() to return an existing fcurve.
- dont allow creating fcurves with blank paths.

11 years agorna functions...
Campbell Barton [Thu, 6 May 2010 14:43:21 +0000 (14:43 +0000)]
rna functions...
 fcu = action.fcurves.new(data_path, array_index, group)
 action.fcurves.remove(fcu)

11 years agoLogic UI: actuators - action+rna 100%, sound 100%, constraint+rna 50%
Dalai Felinto [Thu, 6 May 2010 12:01:44 +0000 (12:01 +0000)]
Logic UI: actuators - action+rna 100%, sound 100%, constraint+rna 50%

Notes:
1) I had to pass Context to the draw_actuator_sound in order to access the open_sound_operator
uiTemplateID(layout, C, ptr, "sound", NULL, "SOUND_OT_open", NULL);
According to Campbell they are better ways to do that (mdef bind for reference). but for now it works.

2) for the record: action actuator is equal to shape actuator (but runs in armature)

3) in Constraint Actuator I think I should unify all the limit_loc_max_, loc_min, ... properties. I was thinking about replacing it with a single limit_loc_max, limit_loc_min, range, distance, and use get/set funcs to find the correct one.

11 years agolast commit broke linking to scenes from the UI
Campbell Barton [Thu, 6 May 2010 11:47:10 +0000 (11:47 +0000)]
last commit broke linking to scenes from the UI

11 years agoDatablocks Viewer Bugfix:
Joshua Leung [Thu, 6 May 2010 11:28:46 +0000 (11:28 +0000)]
Datablocks Viewer Bugfix:

Adding Drivers and/or KeyingSet paths from the Datablocks Viewer for array elements was not working.

11 years agopython property - object.scene_users
Campbell Barton [Thu, 6 May 2010 08:30:42 +0000 (08:30 +0000)]
python property - object.scene_users
Also made this and object.group_users return tuples so it raises an error in this case...
  ob.scene_users.append(scene)

11 years agoFix [#22256] bpy.ops.sequencer.delete.poll() not working
Matt Ebb [Thu, 6 May 2010 07:19:55 +0000 (07:19 +0000)]
Fix [#22256] bpy.ops.sequencer.delete.poll() not working

Just about all sequencer operator poll functions were requiring an active
sequence editor space type. This wasn't necessary for most of them, and prevented use
from scripts, console, etc.

11 years agoFix [#22249] Can enter camera view when there is no camera in scene
Matt Ebb [Thu, 6 May 2010 03:49:26 +0000 (03:49 +0000)]
Fix [#22249] Can enter camera view when there is no camera in scene

11 years agoLogic UI: more actuators: armature, motion, edit object (ui) and 2dfilter (layout...
Dalai Felinto [Thu, 6 May 2010 03:26:46 +0000 (03:26 +0000)]
Logic UI: more actuators: armature, motion, edit object (ui) and 2dfilter (layout fix)

11 years agoFix [#22246] Invisible objects on 3D-View (patch included)
Matt Ebb [Thu, 6 May 2010 03:15:14 +0000 (03:15 +0000)]
Fix [#22246] Invisible objects on 3D-View (patch included)

Modified patch by Teppo Känsälä, thanks for finding the issue!

11 years agorna float set function example for dfelinto
Matt Ebb [Thu, 6 May 2010 02:58:36 +0000 (02:58 +0000)]
rna float set function example for dfelinto

11 years agoTweak for dfelinto, logic ui
Matt Ebb [Thu, 6 May 2010 01:38:17 +0000 (01:38 +0000)]
Tweak for dfelinto, logic ui

11 years agoBGE Logic UI: 2dfilter actuator + object (motino) actuator + commenting out buggy...
Dalai Felinto [Wed, 5 May 2010 21:25:34 +0000 (21:25 +0000)]
BGE Logic UI: 2dfilter actuator + object (motino) actuator + commenting out buggy sensors

11 years agoFix for GPU_free_unused_buffers deadlock, solution by Tamito Kajiyama, thanks!
Brecht Van Lommel [Wed, 5 May 2010 17:14:43 +0000 (17:14 +0000)]
Fix for GPU_free_unused_buffers deadlock, solution by Tamito Kajiyama, thanks!

11 years ago- split objet group add/link into 2 operators
Campbell Barton [Wed, 5 May 2010 15:41:38 +0000 (15:41 +0000)]
- split objet group add/link into 2 operators
- link now brings up a search box so when there are 100's of groups its less annoying.
- utility functions for id-enums so only local objects can be displayed in a search list (used for group_link)
- renamed operator properties from typle to scene, group, action etc.

11 years agoFix bug with appending a second time from the same .blend file, it would
Brecht Van Lommel [Wed, 5 May 2010 14:59:22 +0000 (14:59 +0000)]
Fix bug with appending a second time from the same .blend file, it would
get the wrong subversion number and do unnecessary conversions.

11 years ago[#22177] Adding BLF to the BGE and exposing BLF_load as blf.load
Campbell Barton [Wed, 5 May 2010 06:38:49 +0000 (06:38 +0000)]
[#22177] Adding BLF to the BGE and exposing BLF_load as blf.load
from Mitchell Stokes (moguri)

also updated blf docs

11 years ago[#22212] edit problem with translate manipulator
Martin Poirier [Wed, 5 May 2010 02:07:26 +0000 (02:07 +0000)]
[#22212] edit problem with translate manipulator

Missing a matrix normalization (objects scaled in object mode would have the bug).

11 years agoBugfix #22244: Crash on using ops.constraint.childof_set_inverse and childOf_clear_in...
Joshua Leung [Wed, 5 May 2010 00:44:42 +0000 (00:44 +0000)]
Bugfix #22244: Crash on using ops.constraint.childof_set_inverse and childOf_clear_inverse incorrectly

Adding some NULL checks to all the constraint operators. This is not ideal, but at least the crashes are gone now. More work is needed to properly fix this...

11 years agoLogic Editor UI work
Matt Ebb [Wed, 5 May 2010 00:12:31 +0000 (00:12 +0000)]
Logic Editor UI work
* Re-structured code (can delete the old function entirely when this is done)
* Fixed links/inlinks
* Fixed some bugs in add and remove controller/actuator
* Cleaned up some ui layouts
* Use key event types in keyboard sensor
* Implemented object controller 'state' in RNA/layout engine (still needs tweaks)

11 years agoBGE Logic UI: fix for scene actuator
Dalai Felinto [Tue, 4 May 2010 22:05:41 +0000 (22:05 +0000)]
BGE Logic UI: fix for scene actuator

Any volunteer for this?
//XXX to do: an operator that calls file_browse with relative_path on and blender filtering active

11 years agoremove conflicting restrict render key
Campbell Barton [Tue, 4 May 2010 22:01:24 +0000 (22:01 +0000)]
remove conflicting restrict render key

11 years agofix for raytrace crash on scenes with very large objects, assert could fail with...
Campbell Barton [Tue, 4 May 2010 21:56:01 +0000 (21:56 +0000)]
fix for raytrace crash on scenes with very large objects, assert could fail with really large numbers, instead return 0.0.

11 years agomake a dummy billboard if its velocity or vector are nan/inf
Campbell Barton [Tue, 4 May 2010 21:43:43 +0000 (21:43 +0000)]
make a dummy billboard if its velocity or vector are nan/inf
was causing crashes in the raytracer.

11 years agoBGE Logic UI: more actuators + almost all sensors
Dalai Felinto [Tue, 4 May 2010 21:31:46 +0000 (21:31 +0000)]
BGE Logic UI: more actuators + almost all sensors

* Matt, I'm marking some "property" rna properties that will need some speacial lookup.
Talking with Campbell we thought that it will be nice to have the lookup with autocomplete for the properties, but giving you the freedom to type whatever prop_name you want (so you can use python created properties).
That way we would still store it as a string.

Whenever the property doesn't exist (or was renamed, therefore can't be found) the property name tints in red ...
Is that possible?

* Matt: in draw_actuator_random I used a uiItemL for one of the modes. Is there another way to do that (having the label in the rna file?). I noticed draw_nodes has some cases of that as well.

* Andrea, the actuator_game property filename (in rna_actuator) is the one that needs to open the filebrowser but saving the result as relative path (or to have relative path as the default in this case)

11 years agobillboards were using un-initialized memory and avoid divide by zero in some cases.
Campbell Barton [Tue, 4 May 2010 21:10:26 +0000 (21:10 +0000)]
billboards were using un-initialized memory and avoid divide by zero in some cases.

11 years agorender hide/unhide (Ctrl+H, Ctrl+Alt+H, Ctrl+Alt+Shift+H)
Campbell Barton [Tue, 4 May 2010 15:04:28 +0000 (15:04 +0000)]
render hide/unhide (Ctrl+H, Ctrl+Alt+H, Ctrl+Alt+Shift+H)

11 years agomerging revisions 28564-28569 from render branch into trunk
Joseph Eagar [Tue, 4 May 2010 12:31:24 +0000 (12:31 +0000)]
merging revisions 28564-28569 from render branch into trunk

11 years agoBGE Logic UI: more sensors + rna fixes + actuator empty draw functions (+ camera...
Dalai Felinto [Tue, 4 May 2010 07:34:46 +0000 (07:34 +0000)]
BGE Logic UI: more sensors + rna fixes + actuator empty draw functions (+ camera actuator)

11 years agoclear warning
Campbell Barton [Tue, 4 May 2010 07:26:57 +0000 (07:26 +0000)]
clear warning

11 years agosmall adjustments for getting the default string of a property
Campbell Barton [Tue, 4 May 2010 06:08:00 +0000 (06:08 +0000)]
small adjustments for getting the default string of a property

11 years agoclear 2 warnings
Campbell Barton [Tue, 4 May 2010 05:30:17 +0000 (05:30 +0000)]
clear 2 warnings

11 years agoGreat patch by Harley Acheson fixing about 80 typos and spelling
Daniel Salazar [Tue, 4 May 2010 05:15:53 +0000 (05:15 +0000)]
Great patch by Harley Acheson fixing about 80 typos and spelling
mistakes in makesrna

11 years agoFix [#21353] Rendering h264 reports broken settings and fail.
Xavier Thomas [Tue, 4 May 2010 00:28:41 +0000 (00:28 +0000)]
Fix [#21353] Rendering h264 reports broken settings and fail.
Also silenced a warning.

11 years agoBGE Logics UI: commit to receive some feedback from Matt
Dalai Felinto [Tue, 4 May 2010 00:06:13 +0000 (00:06 +0000)]
BGE Logics UI: commit to receive some feedback from Matt

To test use debug mode > 0 (Ctrl+Alt+D)

* primarly the goal is to put all the bricks there, and then to worry about the proper layout
* sensor header added (need to be more compressed). Also checkbox will not work that well here in my opinion.
we need to see what can be used instead (icons?)
* sensors, and actuators in alphabetical order
* a lot of sensors using the rna (//XXXSENSOR in the ones not using it)

* the logic_window.c code for controller and actuator is there only to display the draw functions for controller and actuators. But the code it's a really bad copy of the sensor code, so it will be fixed later (Matt? :)

* I would love if the non-expanded mode were more compact, more like in 2.49 (the name non-editable).
but this is the kind of think we can worry in the end.
Also instead of "move up/move down" it would be nice to drag/drop the sensors/controllers/actuators

* to do: rna_actuators: to rename type to mode for the enum

11 years ago== Sequencer ==
Peter Schlaile [Mon, 3 May 2010 22:17:05 +0000 (22:17 +0000)]
== Sequencer ==

Added operator (and menu entry) to deinterlace all selected movie strips.
(does also walk into selected meta strips)

Also: small fix for multicam cutting tool (now works also within metas)

11 years agoadd missing include from recent commit
Campbell Barton [Mon, 3 May 2010 21:07:57 +0000 (21:07 +0000)]
add missing include from recent commit

11 years agomanually sync rigify with render branch
Campbell Barton [Mon, 3 May 2010 19:12:11 +0000 (19:12 +0000)]
manually sync rigify with render branch
fixes [#22231] Rigify Script Error When Generate From Human(Meta-Rig)

11 years agoDrag & drop from OS: set to accept any drop operation by default for now
Damien Plisson [Mon, 3 May 2010 17:02:49 +0000 (17:02 +0000)]
Drag & drop from OS: set to accept any drop operation by default for now

11 years agomerge multires changes into trunk
Joseph Eagar [Mon, 3 May 2010 16:06:36 +0000 (16:06 +0000)]
merge multires changes into trunk

11 years agomisc uninteresting stuff (killing time at airport commit)
Campbell Barton [Mon, 3 May 2010 16:00:42 +0000 (16:00 +0000)]
misc uninteresting stuff (killing time at airport commit)
- pep8 updates
- RNA_TwoDFilterActuator --> RNA_Filter2DActuator
- minor changes to conolse namespace init.

11 years agohave timeoffset use (int)floor(timeoffset+0.5f) when converting to an int to avoid...
Campbell Barton [Mon, 3 May 2010 15:56:44 +0000 (15:56 +0000)]
have timeoffset use (int)floor(timeoffset+0.5f) when converting to an int to avoid problems with nagative values.

11 years agosphinx doc generation
Campbell Barton [Mon, 3 May 2010 15:52:15 +0000 (15:52 +0000)]
sphinx doc generation
- include default values as well as min/max.
- partial rebuilds, so we dont have to build all docs each time, only the changed files.

11 years agomask modifier properly works in weightpaint and edit modes now. note that modifiers...
Joseph Eagar [Mon, 3 May 2010 10:09:26 +0000 (10:09 +0000)]
mask modifier properly works in weightpaint and edit modes now.  note that modifiers should not have to provide a applyModifierEM function, there's really no reason to not pull the result from applyModifier if applyModifierEM doesn't exist, it's not like we don't have a dozen *EM functions that do just that, anyway.  fixes 22192.  {merged 28543 into trunk}

11 years agoFix [#20999] Node Header icons drawn wrong
Matt Ebb [Mon, 3 May 2010 08:43:00 +0000 (08:43 +0000)]
Fix [#20999] Node Header icons drawn wrong

Would like to re-do this stuff properly at some stage...

11 years agoFix for renaming particle selection operators a little while ago
Matt Ebb [Mon, 3 May 2010 07:42:40 +0000 (07:42 +0000)]
Fix for renaming particle selection operators a little while ago

11 years agoUpdated icon set, thanks jendryzch!
Matt Ebb [Mon, 3 May 2010 03:33:20 +0000 (03:33 +0000)]
Updated icon set, thanks jendryzch!

11 years agoFix [#22199] Cloth Cache Panel > Disk Cache doesn't work
Matt Ebb [Mon, 3 May 2010 03:02:27 +0000 (03:02 +0000)]
Fix [#22199] Cloth Cache Panel > Disk Cache doesn't work

Condition for this to work (.blend file must be saved) was poorly communicated
in the UI (printfs are no good for this - ideally should use reports). Tweaked this a bit.

11 years agoFix [#22227] Unbinding calls bind operator
Matt Ebb [Mon, 3 May 2010 02:01:38 +0000 (02:01 +0000)]
Fix [#22227] Unbinding calls bind operator

Problem wasn't that the same operators was being called, just seems like the code wasn't updated after rev. 28376

11 years agoNetRender
Martin Poirier [Sun, 2 May 2010 21:34:08 +0000 (21:34 +0000)]
NetRender

Repath functionality: Edit paths in blend file on slaves to match the transfered files.
Tested with textures and point caches. Fluid should work. Point Caches with the External option might not.

This should fix previous problems when using absolute paths in blend files.

11 years ago== Sequencer ==
Peter Schlaile [Sun, 2 May 2010 17:36:38 +0000 (17:36 +0000)]
== Sequencer ==

Made Multicam-Editing really work:
* added a panel within N-keys, so that one can start/stop playback
  and cut between cameras directly from the panel
* made "active_strip" RNA editable, to make that work correctly
  (is usefull anyways :) )

11 years agoTweaked Cache panels to make them clearer, simpler, and added single column UI.
William Reynish [Sun, 2 May 2010 14:34:37 +0000 (14:34 +0000)]
Tweaked Cache panels to make them clearer, simpler, and added single column UI.

11 years agoAdd read-only property to check if any duplis are used. Without this, ob.create_dupli...
Daniel Genrich [Sun, 2 May 2010 13:48:32 +0000 (13:48 +0000)]
Add read-only property to check if any duplis are used. Without this, ob.create_dupli_list(scene) crashes when no duplis are on the object. We cannot use  duply_type !='NONE' because for non rna dupli types like dupli_particles, it fails. And some dupli types, we don't want to have in rna

11 years agoPut ray mirror Fade To color next to Max Distance. Grayed out Fade To if
Daniel Salazar [Sun, 2 May 2010 04:40:44 +0000 (04:40 +0000)]
Put ray mirror Fade To color next to Max Distance. Grayed out Fade To if
Distance is 0

11 years ago[#22211] Sending single frame job to netrender
Martin Poirier [Sat, 1 May 2010 20:39:04 +0000 (20:39 +0000)]
[#22211] Sending single frame job to netrender

Patch by Jeroen Bakker

11 years agoshould make problems mentioned in
Peter Schlaile [Sat, 1 May 2010 16:02:59 +0000 (16:02 +0000)]
should make problems mentioned in

[#19221] Sequencer animation curves not converted correctly from 2.4

go away.

11 years agoSecond round of sequencer IPO-conversion to new animation system:
Peter Schlaile [Sat, 1 May 2010 15:17:30 +0000 (15:17 +0000)]
Second round of sequencer IPO-conversion to new animation system:
* now non-frame-locked IPOs work, too.

11 years agoFirst round of importing old sequencer IPOs to new animation system:
Peter Schlaile [Sat, 1 May 2010 14:09:45 +0000 (14:09 +0000)]
First round of importing old sequencer IPOs to new animation system:
* Frame locked IPOs work now

TODO: non-frame-locked ones :)

11 years agoFixed version patching for unique sequencer names:
Peter Schlaile [Sat, 1 May 2010 12:39:06 +0000 (12:39 +0000)]
Fixed version patching for unique sequencer names:
now iteration over all strips (including meta strips) works correctly.

11 years ago== Sequencer ==
Peter Schlaile [Sat, 1 May 2010 11:51:56 +0000 (11:51 +0000)]
== Sequencer ==

Since prefetch rendering in sequencer is currently disabled,
seq_thread_shutdown should be always TRUE for now.

11 years agoFix [#22202] Box Selecting bones does not update animation windows
Matt Ebb [Fri, 30 Apr 2010 07:22:07 +0000 (07:22 +0000)]
Fix [#22202] Box Selecting bones does not update animation windows

11 years agofix for exporting a rig to a graph
Campbell Barton [Fri, 30 Apr 2010 05:45:02 +0000 (05:45 +0000)]
fix for exporting a rig to a graph

11 years agoHighlight last selected point in curve/surface edit mode.
Sergey Sharybin [Fri, 30 Apr 2010 04:48:40 +0000 (04:48 +0000)]
Highlight last selected point in curve/surface edit mode.

Curve->lastselbp field was renamed to Curve->lastsel and now not last
either BPoint or BezTriple is storing here. It's not easy to determine
type of selected point, but operator which depends on such point reviews
the full nurbs, so this shouldn't be a problem.

Made changes to curve undo stuff to restore last selected point on undo/redo.

Added new theme color for curve last selected point.

11 years agoFix [#22207] Selecting Roots also selects hidden
Matt Ebb [Fri, 30 Apr 2010 01:22:21 +0000 (01:22 +0000)]
Fix [#22207] Selecting Roots also selects hidden

11 years agoBugfix #22201: NLA 'freeze' icon does not match box
Joshua Leung [Thu, 29 Apr 2010 23:29:50 +0000 (23:29 +0000)]
Bugfix #22201: NLA 'freeze' icon does not match box

When the channel list in the NLA Editor was resized, the 'freeze' icon on Action Lines stayed put due to a relic from older code.

11 years agoRemoved unused code from yesterday
Matt Ebb [Thu, 29 Apr 2010 23:24:31 +0000 (23:24 +0000)]
Removed unused code from yesterday