Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-11Fix #29848: cycles not respecting dupli group visible layers, also exposedBrecht Van Lommel
DupliObject.hide property in API now.
2012-01-11Fix: toggling premultiply or color management not updating packed images.Brecht Van Lommel
2012-01-11Longer names support for all ID and other object namesSergey Sharybin
This commit extends limit of ID and objects to 64 (it means 63 meaning characters and 1 for zero-terminator). CustomData layers names are also extended. Changed DNA structures and all places where length constants were hardcoded. All names which are "generating" from ID block should be limited by MAX_ID_NAME-2, all non-id names now has got own define called MAX_NAME which should be used all over for non-id names to make further name migration stuff easier. All name fields in DNA now have comment with constant which corresponds to hardcoded numeric value which should make it easier to further update this limits or even switch to non-hardcoded values in DNA. Special thanks to Campbell who helped figuring out some issues and helped a lot in finding all cases where hardcoded valued were still used in code. Both of forwards and backwards compatibility is stored with blender versions newer than January 5, 2011. Older versions had issue with placing null-terminator to DNA strings on file load which will lead to some unpredictable behavior or even crashes.
2012-01-11bge camera actuator: -X and -Y axisDalai Felinto
The camera actuator only allows to look the object from its front face. Given that Blender takes -Y as the default forward orientation, the current functionality doesn't let a camera to track an actor from behind. This patch allows for -X and -Y axis tracking. This way a camera over the shoulders of a character is possible (without resorting to rotate the mesh/armature original orientation. - patch reviewed by Campbell Barton, thanks
2012-01-11minor edits to xml presetsCampbell Barton
- check 'SKIP_SAVE' property (used for active theme area which become annoying) - indent presets better
2012-01-10(no commit message)Peter Larabell
2012-01-10Adding the kyrgyz language.Bastien Montagne
2012-01-10remove WITH_OGG define, its not used anywhere.Campbell Barton
2012-01-10Camera tracking: minor code cleanup of RNA file, no functional changesSergey Sharybin
2012-01-10Camera tracking: marker's frame number is now writable from python apiSergey Sharybin
2012-01-10Camera tracking: improvements of python apiSergey Sharybin
- marker_find_frame moved to MovieTrack.markers and called find_frame - Added MovieTrack.markers.insert_frame to insert marker at specified frame - Added MovieTrack.markers.delete_frame to delete marker from specified frame
2012-01-09Cycles: multi GPU rendering support.Brecht Van Lommel
The rendering device is now set in User Preferences > System, where you can choose between OpenCL/CUDA and devices. Per scene you can then still choose to use CPU or GPU rendering. Load balancing still needs to be improved, now it just splits the entire render in two, that will be done in a separate commit.
2012-01-08Cycles: checker texture node, patch by Thomas.Brecht Van Lommel
2012-01-06Fix #29568: Blender restores deleted sceneSergey Sharybin
Special notifiers used for scene deletion which lead to undo pushes after SCENE_OT_delete operator happening with scene still present in the mainfile. That was a reason why operator redo used to restore scene. It's not so obvious why special notifier type is needed for scene set and deletion -- it confuses undo system without having some obvious advantages. Using "direct" scene deletion and setting seems to be working fine so let's see if there'll be some issues with this.
2012-01-06Properties Window UI:Thomas Dinges
* Some tweaks to the stamp panel to make it more compact. * Remove "Stamp" Prefix for the color values, redundant info.
2012-01-05This patch creates an interface for ["Text"] properties in Font objects.Dalai Felinto
Interface: http://www.pasteall.org/pic/show.php?id=23785 Simple test file: http://www.pasteall.org/blend/10616 (I'll commit this to the text suite later) Code Explanation: --------------- (1) it adds a toggle to add/remove a "Text" gameproperty. - internally this property is just another game property (so we can find it within the game.properties lookup). - the property itself has no 'value', the interface shows the content of ob.data.body instead (why? because gameproperties are per object, while the text is per data). (2) at BGE converter time it sets the current value of the object.data.body to the ["Text"] property. (3) if you change object.text (bge text property) it automatically convert ["Text"] to a CStringValue. *** that means if the original property was a CIntegerValue, it will be converted to CStringValue forever *** * the only to do I can think of is to add a warning at doversion time if user has ["Text"] property for a Font object * * when that happens we print a warning in console/popup.*
2012-01-04Camera tracking: added depth object to Follow Track constraintSergey Sharybin
If this object is defined, object with Follow Track constraint would be projected into surface of this depth object. If object is not set or there's no projection onto it, projection plane calculated based on original object position would be used. This allows to make cheap facial mocap.
2012-01-04Camera tracking: fixes in Link Empty to Track and Bundles to Mesh operatorsSergey Sharybin
- This operators always used to work with tracks for camera - Properly set camera and object fields to Follow Track constraint - TrackingObject.tracks is now pointing to actual list of tracks for camera objects.
2012-01-04de-duplicate wave modifier texture function.Campbell Barton
cmon - copying large functions between files is obviously stupid, dont do it!
2012-01-04replace wave spesific enum with generic oncesCampbell Barton
2012-01-02Fix #29738: missing includes in RNA, patch by Dan Eicher.Brecht Van Lommel
2012-01-01Fixed names of VertexWeight modifiers RNA structs, in RNA_access.h (probably ↵Bastien Montagne
forgotten when they were renamed, before the merge in trunk, and was never noticed as they are not used...). Also removed the $ID$ from remesh modifier header, and quited a gcc warning.
2012-01-01__func__ define for msvc since its not c99 compatCampbell Barton
2012-01-01rna api - set hard min/max for colors which are float properties but ↵Campbell Barton
internally use chars to 0/1.
2012-01-01use __func__ for makesrna.c error prints rather then the function name (no ↵Campbell Barton
functional changes)
2011-12-31Dynamic Paint:Miika Hamalainen
* Fix: Smudge and brush velocity settings didn't work for "image sequence" surfaces unless any paint effect was enabled. * Adjusted some property ranges.
2011-12-31Add remesh modifier (dual contouring).Nicholas Bishop
This patch adds a new remeshing modifier. The algorithm is based on the paper "Dual Contouring of Hermite Data", and the implementation was contributed to Blender by Dr. Tao Ju. The contributed code is in intern/dualcon, and was modified to compile under gcc and work on 64-bit systems. Files not needed for Blender were removed and a small C wrapper was added in order to interface it with Blender. The rest of the patch is just standard modifier stuff. Reviewed by Sergey, code review link: http://codereview.appspot.com/5491053/ The remesh icon was contributed by Zafio: http://blenderartists.org/forum/showthread.php?240751-Request-for-modifier-icon/page2. Thanks to everyone in that thread for the icon proposals and discussion. Documentation and examples on the Blender wiki: http://wiki.blender.org/index.php/User:Nicholasbishop/RemeshModifier In case the history is needed for anything, check the remesh-modifier branch of this git repository: https://gitorious.org/~nicholasbishop/blenderprojects/nicholasbishop-blender
2011-12-30Object tracking integrationSergey Sharybin
This commits merges object tracking implementation from tomato branch. Summarized changes from branch: - Added list of objects to be tracked. Default there's only one object called "Camera" which is used for solving camera motion. Other objects can be added and each of them will have it;s own list of tracks. Only one object can be used for camera solving at this moment. - Added new constraint called "Object Tracking" which makes oriented object be moving in the save way as solved object motion. - Scene orientation tools can be used for orienting object to bundles. - Object has got scale to define "depth" in camera space. - All tools which works with list of tracks or reconstruction data now gets that lists from active editing object. - All objects and their tracking data are available via python api. - Improvements in witness cameras workflow,
2011-12-30Color management: add "Color Unpremultiply" option for images and render ↵Brecht Van Lommel
settings. For premultiplied alpha images, this makes any color space conversion for the image or render output work on color without alpha multiplied in. This is typically useful to avoid fringing when the image was or will be composited over a light background. If the image will be composited over a black background on the other hand, leaving this option off will give correct results. In an ideal world, there should never be any color space conversion on images with alpha, since it's undefined what to do then, but in practice it's useful to have this option. Patch by Troy Sobotka, with changes by me.
2011-12-30Camera tracking: improvements of track preview widgetSergey Sharybin
- Enable bicybic filtering fir image displayed in track preview - Option to show grayscale content of track preview - When some channels are disabled, display exactly the same content of preview image which is sending to tracker library. Merged from tomato branch using command: svn merge -r42382:42383 -r42384:42385 -r42394:42395 \ -r42397:42398 -r42398:42399 -r42406:42407 \ -r42410:42411 -r42417:42418 -r42471:42472 \ ^/branches/soc-2011-tomato
2011-12-27Merging r42800 through r42895 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-24Bugfix for [#29684] Output video presets messed upThomas Dinges
* This was caused ny the ImageType refactor. * Problem persisted with Quicktime too, could not test that, but should fix presets there too.
2011-12-23Moving back sr locales to sr_RS (else, with recent changes (42830), loading ↵Bastien Montagne
sr was no more working). My mistake, using only sr wasn't useful here (unlike spanish, we only have one version of serbian, in cyrilic and latin forms...)!
2011-12-22Translation context for RNA propertiesSergey Sharybin
This commit implements a way to define context of property which is used by localization stuff and which is needed to resolve translation context when some word wit the same english spelling is used in different meanings (like Manual in meaning of tutorial, and Manual in meaning of something is setting up by hand). To define property's context there's a function RNA_def_property_translation_context. If property doesn't have context, regular BLF_gettext function is used to get translation of property name, otherwise BLF_pgettext is used for this. Hence, for correct translation, messages in .po files should be marked by "msgctxt" context, otherwise property with context declared wouldn't be translated at all. Toolchain scripts from bf-translation project would be updated soon. If context for some values of enumerator property, property itself should be moved to other context and all items from this enum would be moved to this context automatically (it's impossible to move one few items to another context). P.S. Think context like "BRUSH" or "MODIFIER" are preferable than "NOUN" and "VERB" because in some cases the same english noun used in different areas better be translated differently to make translation more native.
2011-12-22patch [#29673] Visualize Indices (developer aid)Campbell Barton
by Howard Trickey (howardt)
2011-12-22split some >120 lines, no functional changesCampbell Barton
2011-12-21A few small fixes to new UI messages...Bastien Montagne
2011-12-21Merging r42770 through r42799 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-21Small i18n edits:Bastien Montagne
* Added serbian_latin locale (sr@latin). * Changed serbian UI to "Serbian (Српски)" (as requested by Nikola Radovanovic, serbian translator). * Reordered languages in menu in alphabetical order!
2011-12-21Added Record run no gaps timecode for movie clips.Sergey Sharybin
Also get rid of hardcoded constants in readfile and use constants from ImBuf headers.
2011-12-20Merging r42723 through r42769 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-20Cucumber, first batch of merge - UI changes and custom exit keyDalai Felinto
--------------------------------------------------------------- This was a test drive to see how painful the merge will be. Next batches are: - use desktop option for fullscreen - multisampling option - bullet collision mask - python - storage (vbo, dl, ...) - lighting [lighting still needs review] [python could use review, although it should be straightforward] [storage should be tested more I think] Merged /branches/soc-2011-cucumber:r 36991,37059,37157,37416,37497-37499,37501,37522,39036,40593 36991: ==UI== * Made some options available in Blender Game that were only available in Blender Render (camera resolution, animation fps) * Created a panel for the embedded player * Renamed the FPS option for the standalone player to Refresh Rate * Moved framing options to display * Made a button to launch the blender player from within blender (only tested on windows for now) 37059: ==UI== * Added the option to change the exit key for the BGE. The UI currently just sets a number, and this feature most likely does not work for blenderplayer yet. More work on this to come. * Removed the physics settings from the scene panel for the BGE. * Added an Add menu in the logic brick header. 37157: Making the bake options available in Blender Game 37416: Making the exit key UI element accept key presses instead of numbers. It still does not work for the Blenderplayer, and it does not limit the input to key presses (other events don't work for exiting) 37497: Some more work on getting the exit key to work in the Blenderplayer. Input is now restricted to keyboard events only for the exit key UI. 37498: Some clean up from the last commit. The exit key setting affects the Blenderplayer now. 37499: Cleaning up some duplicate code. Now the reverseTranslateTable for converting blender key codes to ketsji key codes is only defined in BL_BlenderDataConverter. 37501: Centralizing the exit key methods to the keyboard devices. This should make it easier to get exit key control to the python API. [37517: committed previously] 37522: Moved control of the exit key away from the keyboard devices, and moved it to ketsjiengine. Added setExitKey and getExitKey to the python API 39036: A couple of the doversions were in the wrong spot. This should fix some issues with the exit key not being set. [not committed entirely, see below]] 40552: space_logic.py (* fixed an error in space_logic.py *) 40593: launch blenderplayer from ui not working in OSX fix - by Daniel Stokes and me ######################################################## code left behind (to be included in next commit): ######################################################## { /* Initialize default values for collision masks */ Object *ob; for(ob=main->object.first; ob; ob=ob->id.next) ob->col_group = ob->col_mask = 1; }
2011-12-20patch [#28094] New equirectangular world texture mapping optionCampbell Barton
2011-12-19Object tracking: configurable scale for object solutionSergey Sharybin
Added slider to define scale of object solution which is used to define "depth" of object relative to camera position. This slider effects on all "users" of object solution such as bundles display, constrained objects and so. Added new operator called "Set Solution Scale" to set real scale for object solution based on real distance between two bundles reconstructed for this object. New slider and operator can be found on "Object" panel in toolbox when in reconstruction mode and active tracking object isn't a camera.
2011-12-19Merging r42648 through r42722 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-18Generalized node groups for Cycles.Lukas Toenne
This allows group nodes inside other group nodes in cycles and makes the code more generic for all possible cases, like direct group input-to-output links and unused group sockets. Previous code tried to connect external nodes and internal group sockets by following links until a "real" node input/output. This quickly becomes complicated in corner cases as described above and can lead to unexpected behavior when the group socket is of a different type than the internal/external sockets, but that conversion is skipped. The new code uses the concept of "proxy nodes" similar to what the new compositor does. Each group socket is replaced with a proxy node with a single input and output, to which other nodes in the same tree and internal nodes can link to. After all groups have been expanded in the graph, these proxy nodes are removed again, adding converter nodes if necessary.
2011-12-18- remove rna access to deprecated sequencer attributes x/y offset & zoom.Campbell Barton
- Object.to_mesh was still using deprecated colbits variable (object material wouldnt work for any material after 16) - dont set colbits when setting material slot anymore.
2011-12-17Cycles Gamma NodeDalai Felinto
Node specially useful for Texture correction. This is also a nice example of a simple node made from scratch in case someone wants to create their custom nodes. Review by Brecht.
2011-12-16Math lib: matrix multiplication order fix for two functions that wereBrecht Van Lommel
inconsistent with similar functions & math notation: mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B) mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B) For branch maintainers, it should be relatively simple to fix things manually, it's also possible run this script after merging to do automatic replacement: http://www.pasteall.org/27459/python
2011-12-16Camera tracking: add camera to follow track and object solver constraintSergey Sharybin
Object used to be parented to active camera which isn't very convenient when working with witness cameras. Now parent camera can be specified in constraint (if it's not specified, active camera is used)