You can change the attributes of the object from “Object Properties” tab. The color can be set in the “Visibility” menu.
How to display the object color
1. Change the object color
2. Change the renderer into “Workbench”
The Workbench Engine is a render engine optimized for fast rendering during modeling and animation preview.
from Introduction of workbench in Blender2.91 Manual
3. Set the color “Object”
You can select colors that the Workbench uses to render objects from single, Object, Material, Random, Vertex and Texture. See “Color” page of workbench in Blender2.91 Manual for details.
To understand Blender keymap related to “ActionZone”.
Environment
Blender2.83 Windows10
How to see the current keymap settings
Edit > Preferences > Keymap
You can see actions and assigned keymaps. There are “ActionZone” in short cut keys.
What is ActionZone?
I couldn’t find any official documentation, but I think ActionZone means the each windows of editor.
Move the cursor to the upper right corner then the cross cursor will appear. When the cross cursor is displayed, you can handle “ActionZone”.
Example of usages
ActionZone (dragging cross cursor): split and join the area Shift + ActionZone (dragging cross cursor) : Duplicate area into new window Ctrl + ActionZone (dragging cross cursor) : Swap area
This is just a memo. I often forget how to create and connect local repository and remote repository on GitHub.
GOAL
Today’s goal is to summarize how to create remote repository and local repository, and push the committed change from local repository.
Environmet
Windows10 Git 2.19.0 GitHub
Method
1. Create remote repository
Access GitHub and create new repository.
2. Create local repository
Access local directory and create local repository by using command “git init”.
> cd path\wordpressTheme
> git init
.git will be generated.
3. Commit the changes
Add files
> git add *
Commit them
> git commit -m "First commit, The simplest template."
4. Add remote repository
Add the created remote repository by using the command “git remote add <repository_name> URL”. You can copy the URL from the repository page in GitHub.
Push the local repository to the remote repository. I push the main branch to the remote repository named origin by using “git push” command.
> git push origin main
* The name of the branch “main” is the default name of branch in remote repository in GitHub. The default name was “master” until 2020.10.1. * You can check the current branch name by using the command “git branch” * You can change the name of the branch by using the command “git branch -m <before_name> <new_name>” ([Tips]Change the branch name in Git)
Committer’s emails can be seen in git log. How can I solve this problem?
GOAL
To hide the committer’s email in GitHub.
Method
Use the noreply email address that is assigned to hide the committer email address. The GitHub-provided noreply email address is defined as ID+username@users.noreply.github.com.
Check “Keep my email addresses private”. Then you can use the noreply email address that is displayed. This address can be used for web-based Git operations (e.g., edits and merges).
2. Check “Block command line pushes that expose my email”
If you check this check box, commits that use a private email address will be blocked.
3. Change the local git user.email to the commit email address
If you want command line Git operations to use the noreply email address, you must set your email in Git.
This function is used to get template from {}-{}.php.
In my case, get the template from content/content-search.php by using get_template_part( ‘content/content’, ‘search’). But I don’t need content-search.php because the template content/content-search.php is the same as content.php.